Browse Source

作业内容sql

zhc
review512jwy@163.com 3 weeks ago
parent
commit
b7d07f652e
  1. 16
      data-center-business-controller/src/main/resources/db/migration/V100__work_content.sql

16
data-center-business-controller/src/main/resources/db/migration/V100__work_content.sql

@ -0,0 +1,16 @@
CREATE TABLE `dashboard_work_content` (
`id` bigint NOT NULL AUTO_INCREMENT,
`content` varchar(255) NOT NULL COMMENT '内容',
`sort_order` int DEFAULT 0 COMMENT '同级排序',
`created_at` bigint DEFAULT NULL,
`flag` int DEFAULT 0 COMMENT '0-正常,1-删除',
PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT='作业内容';
INSERT INTO `dashboard_work_content` (`content`, `sort_order`, `created_at`, `flag`) VALUES
('受電設備点検(停電含む)', 0, UNIX_TIMESTAMP() * 1000, 0),
('消防設備点検', 1, UNIX_TIMESTAMP() * 1000, 0),
('消防訓練', 2, UNIX_TIMESTAMP() * 1000, 0),
('貯水槽清掃', 3, UNIX_TIMESTAMP() * 1000, 0),
('防火設備定期検査', 4, UNIX_TIMESTAMP() * 1000, 0);
Loading…
Cancel
Save