Browse Source

dt_relation将valid默认设置为1

lijie 3 years ago
parent
commit
8c0cb17eeb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dmp-business/dmp-rwd/src/main/resources/db/init/schema.sql

+ 1 - 1
dmp-business/dmp-rwd/src/main/resources/db/init/schema.sql

@@ -143,7 +143,7 @@ CREATE TABLE IF NOT EXISTS `dt_relation` (
   `creation_time` char(14) NULL DEFAULT NULL COMMENT '创建时间',
   `modifier` varchar(32) DEFAULT NULL COMMENT '最后修改人',
   `modified_time` char(14) NULL DEFAULT NULL COMMENT '最后修改时间',
-  `valid` tinyint DEFAULT NULL COMMENT '合法标识',
+  "valid" tinyint DEFAULT '1' COMMENT '合法标识',
   `ts` timestamp default current_timestamp on update current_timestamp NOT NULL COMMENT '乐观锁',
   PRIMARY KEY (`id`) USING BTREE,
   KEY `idx_graph_code` (`graph_code`) USING BTREE,