oubo 5 anni fa
parent
commit
f88a19fc84
2 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 1 0
      data/sql/structure.sql
  2. 3 0
      data/upgrade/v3.0.0/v3.0.0.sql

+ 1 - 0
data/sql/structure.sql

@@ -1702,6 +1702,7 @@ CREATE TABLE `t_documentary_step`  (
   `companyId` int(11) NULL DEFAULT 0,
   `ctime` datetime(0) NULL DEFAULT NULL,
   `utime` datetime(0) NULL DEFAULT NULL,
+  `tag_ids` text CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL,
   PRIMARY KEY (`step_id`) USING BTREE
 ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_bin ROW_FORMAT = Dynamic;
 -- ----------------------------

+ 3 - 0
data/upgrade/v3.0.0/v3.0.0.sql

@@ -305,4 +305,7 @@ REPLACE INTO `t_affair_system_column`(`column_id`, `column_pid`, `group_id`, `co
 ALTER TABLE `t_inventory_record`
 ADD COLUMN IF NOT EXISTS `user_id`  int(11) NULL AFTER `utime`;
 
+ALTER TABLE `t_documentary_step`
+ADD COLUMN IF NOT EXISTS `tag_ids` text CHARACTER SET utf8 COLLATE utf8_bin NULL DEFAULT NULL AFTER `utime`;
+
 SET FOREIGN_KEY_CHECKS=1;