rt-sim-training-service/sql/20210621-sheng.sql

18 lines
652 B
SQL

SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for model_2d_draft
-- ----------------------------
DROP TABLE IF EXISTS `model_2d_draft`;
CREATE TABLE `model_2d_draft` (
`id` bigint(20) NOT NULL,
`code` varchar(32) NOT NULL COMMENT '编号',
`name` varchar(32) NOT NULL COMMENT '模型名称',
`json_data` mediumtext COMMENT '模型数据',
`create_user_id` bigint(20) NOT NULL,
`create_time` datetime NOT NULL ON UPDATE CURRENT_TIMESTAMP,
`update_user_id` bigint(20) DEFAULT NULL,
`update_time` datetime DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;