You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
986 B
Java
17 lines
986 B
Java
1 year ago
|
-- 其他档案表 修改归档状态默认值
|
||
|
alter table electronic_other alter column archive_state set default 0;
|
||
|
|
||
|
-- 其他档案归档状态字段修改
|
||
|
ALTER TABLE electronic_other CHANGE column archive_state file_status varchar(64);
|
||
|
|
||
|
-- 其他档案表新增 档案类型 档案位置 案卷号
|
||
|
ALTER TABLE electronic_other ADD COLUMN `file_type` varchar(64) NULL DEFAULT NULL COMMENT '档案类型';
|
||
|
ALTER TABLE electronic_other ADD COLUMN `site` varchar(64) NULL DEFAULT NULL COMMENT '档案位置';
|
||
|
ALTER TABLE electronic_other ADD COLUMN `files_num` varchar(64) NULL DEFAULT NULL COMMENT '案卷号';
|
||
|
|
||
|
|
||
|
-- 其他档案表 立档单位ID 库房ID 案柜ID
|
||
|
ALTER TABLE electronic_other ADD COLUMN `organization_id` bigint(20) NULL DEFAULT NULL COMMENT '立档单位ID';
|
||
|
ALTER TABLE electronic_other ADD COLUMN `depot_id` bigint(20) NULL DEFAULT NULL COMMENT '库房ID';
|
||
|
ALTER TABLE electronic_other ADD COLUMN `cabinet_id` bigint(20) NULL DEFAULT NULL COMMENT '档案柜ID';
|