From f89672757a48f6ab098f5534cdaf40689b520510 Mon Sep 17 00:00:00 2001 From: xiaoxie <hotcoffie@163.com> Date: 星期三, 01 十二月 2021 20:28:13 +0800 Subject: [PATCH] 1.适配新的gitee地址 2.增加docker-compose相关配置 --- sql/mysql.sql | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/sql/mysql.sql b/sql/mysql.sql index 6f44ce8..4501257 100644 --- a/sql/mysql.sql +++ b/sql/mysql.sql @@ -66,6 +66,7 @@ id int auto_increment primary key, deviceId varchar(50) not null, + channelId varchar(50) not null, alarmPriority varchar(50) not null, alarmMethod varchar(50), alarmTime varchar(50) not null, @@ -92,6 +93,7 @@ create table device_mobile_position ( deviceId varchar(50) not null, + channelId varchar(50) not null, deviceName varchar(255) null, time varchar(50) not null, longitude double not null, @@ -240,11 +242,11 @@ create table role ( id int auto_increment - primary key, - name TEXT NOT NULL, - authority TEXT NOT NULL, - createTime varchar(50) not null, - updateTime varchar(50) not null + primary key, + name TEXT NOT NULL, + authority TEXT NOT NULL, + createTime varchar(50) not null, + updateTime varchar(50) not null ); insert into role (id, name, authority, createTime, updateTime) values ('1', 'admin', '0', '2021-04-13 14:14:57', '2021-04-13 14:14:57'); -- Gitblit v1.8.0