数据库表结构修改(Postgresql)
增加字段
ALTER TABLE staff ADD CLOLUMN "firstname" VARCHAR(32);
删除限制
ALTER TABLE staff DROP CONSTRAINT "FK_STAFF";
修改主键生成方式
CREATE SEQUENCE 'staff_id_seq';
ALTER TABLE staff ALTER COLUMN "person_id" SET DEFAULT nextval('staff_id_seq');