diff --git a/db/prod/2024-3-18-变更.sql b/db/prod/2024-3-18-变更.sql new file mode 100644 index 00000000..23d5a4c1 --- /dev/null +++ b/db/prod/2024-3-18-变更.sql @@ -0,0 +1,28 @@ +# 测试规程 +INSERT INTO laws_tag (id, `table_name`, db_field_name, db_field_en_name, db_field_txt, order_num, db_field_name_old, + db_is_key, db_is_null, db_type, db_length, field_show_type, field_must_input, is_show_form_create, + is_query, is_show_form, is_show_list, is_read_only, create_time, create_by, show_area, del_flag, + is_model) +VALUES ('1769566843595255809', 'laws_domestic_standard', 'test_procedures', 'Test Procedures', '测试规程', 34, + 'test_procedures', 0, 1, 'String', 1, '8', '0', 1, 0, 1, 0, 0, '2024-03-18 11:29:47', 'admin', + '1499658880093847553', 0, '1'); +# 其他文件 +INSERT INTO laws_tag (id, `table_name`, db_field_name, db_field_en_name, db_field_txt, order_num, db_field_name_old, + db_is_key, db_is_null, db_type, db_length, field_show_type, field_must_input, is_show_form_create, + is_query, is_show_form, is_show_list, is_read_only, create_time, create_by, show_area, del_flag, + is_model) +VALUES ('1769563422100156418', 'laws_domestic_standard', 'other_files', 'Other Files', '其他文件', 35, 'other_files', 0, + 1, 'String', 1, '8', '0', 1, 0, 1, 0, 0, '2024-03-18 11:16:11', 'admin', '1499658880093847553', 0, '1'); +# 解读文件 +INSERT INTO laws_tag (id, `table_name`, db_field_name, db_field_en_name, db_field_txt, order_num, db_field_name_old, + db_is_key, db_is_null, db_type, db_length, field_show_type, field_must_input, is_show_form_create, + is_query, is_show_form, is_show_list, is_read_only, create_time, create_by, show_area, del_flag, + is_model) +VALUES ('1769564500350857218', 'laws_domestic_standard', 'interpret_document', 'Interpretation of documents', + '解读文件', 36, 'interpret_document', 0, 1, 'String', 1, '8', '0', 1, 0, 1, 0, 0, '2024-03-18 11:20:28', + 'admin', '1499658880093847553', 0, '1'); + +ALTER TABLE `laws_domestic_standard` + ADD COLUMN `other_files` varchar(1) NULL DEFAULT NULL COMMENT '其他文件' AFTER `is_asms_import`, + ADD COLUMN `interpret_document` varchar(1) NULL DEFAULT NULL COMMENT '解读文件' AFTER `other_files`, + ADD COLUMN `test_procedures` varchar(1) NULL DEFAULT NULL COMMENT '测试规程' AFTER `interpret_document`; \ No newline at end of file