mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-09-24 07:19:46 +08:00
6
script/sql/update/postgres/update_5.1.2-5.2.0.sql
Normal file
6
script/sql/update/postgres/update_5.1.2-5.2.0.sql
Normal file
@ -0,0 +1,6 @@
|
||||
ALTER TABLE sys_dept
|
||||
ADD COLUMN dept_category VARCHAR(100) DEFAULT NULL COMMENT '部门类别编码';
|
||||
ALTER TABLE sys_post
|
||||
ADD COLUMN dept_id BIGINT NOT NULL COMMENT '部门id',
|
||||
ADD COLUMN post_category VARCHAR(100) DEFAULT NULL COMMENT '岗位类别编码';
|
||||
UPDATE sys_post SET dept_id = 100;
|
Reference in New Issue
Block a user