|
@@ -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,
|