From 1c7f7ef7b7a080f06f6bd2ddf4670394edfc9245 Mon Sep 17 00:00:00 2001 From: panlinlin <648540858@qq.com> Date: Fri, 7 May 2021 17:23:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96mysql=E5=BB=BA=E5=BA=93?= =?UTF-8?q?=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sql/mysql.sql | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sql/mysql.sql b/sql/mysql.sql index 6dec217b..3f3b876d 100644 --- a/sql/mysql.sql +++ b/sql/mysql.sql @@ -82,10 +82,10 @@ create table gb_stream create table parent_platform ( + id int auto_increment, enable int null, name varchar(50) null, - serverGBId varchar(50) not null - primary key, + serverGBId varchar(50) not null, serverGBDomain varchar(50) null, serverIP varchar(50) null, serverPort int null, @@ -100,7 +100,8 @@ create table parent_platform characterSet varchar(50) null, ptz int null, rtcp int null, - status bit(1) null + status bit(1) null, + primary key (id, serverGBId) ); create table platform_gb_channel