select * from information_schema.columns where table_schema='public' and table_name='users';
修改表字段时,最好先把之前的删除掉
ALTER TABLE table_name DROP COLUMN if exists column_name1; ALTER TABLE table_name ADD column1 integer;