ALTER TABLE jiangan_config ADD COLUMN article text NOT NULL DEFAULT ''; pg_dump -s database_name -t table_name 查看表定义: CREATE TABLE hetong ( id integer NOT NULL, create_time timestamp with time zone NOT NULL, edit_time timestamp with time zone NOT NUL…
-- 定义触发器 CREATE TRIGGER "vss_after_insert_flow_201702" AFTER INSERT ON "public"."vss_passenger_flow_201702" FOR EACH ROW EXECUTE PROCEDURE "vss_after_insert_flow"(); --删除触发器 DROP TRIGGER vss_after_insert_flow_201702…