parent
2354e75535
commit
af3c5411bb
|
@ -230,3 +230,36 @@ VALUES (1, 'admin', 'c3855e6b6bb120450f160ba91134522868f89d36062f2061ebeefd80817
|
||||||
'2020-09-11 00:34:16', '1970-01-02 00:00:00', 0, 0);
|
'2020-09-11 00:34:16', '1970-01-02 00:00:00', 0, 0);
|
||||||
|
|
||||||
SET FOREIGN_KEY_CHECKS = 1;
|
SET FOREIGN_KEY_CHECKS = 1;
|
||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- Table structure for msg_serial
|
||||||
|
-- ----------------------------
|
||||||
|
DROP TABLE IF EXISTS `msg_serial`;
|
||||||
|
CREATE TABLE `msg_serial`
|
||||||
|
(
|
||||||
|
`id` bigint(20) NOT NULL AUTO_INCREMENT,
|
||||||
|
`msgSerial` bigint(20) NOT NULL DEFAULT '1' COMMENT '连续消息序号',
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=50 DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
SET FOREIGN_KEY_CHECKS = 1;
|
||||||
|
-- ----------------------------
|
||||||
|
-- Records of msg_serial
|
||||||
|
-- ----------------------------
|
||||||
|
INSERT INTO `msg_serial` VALUES ('1', '1');
|
||||||
|
|
||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- Table structure for alarm_information
|
||||||
|
-- ----------------------------
|
||||||
|
DROP TABLE IF EXISTS `alarm_information`;
|
||||||
|
CREATE TABLE `alarm_information`
|
||||||
|
(
|
||||||
|
`id` bigint(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
`alarmInfo` varchar(255) NOT NULL COMMENT 'emos告警内容',
|
||||||
|
`createTime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
SET FOREIGN_KEY_CHECKS = 1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue