优化mysql建库脚本

pull/110/head
panlinlin 2021-05-07 17:23:14 +08:00
parent b260ef7ab6
commit 1c7f7ef7b7
1 changed files with 4 additions and 3 deletions

View File

@ -82,10 +82,10 @@ create table gb_stream
create table parent_platform create table parent_platform
( (
id int auto_increment,
enable int null, enable int null,
name varchar(50) null, name varchar(50) null,
serverGBId varchar(50) not null serverGBId varchar(50) not null,
primary key,
serverGBDomain varchar(50) null, serverGBDomain varchar(50) null,
serverIP varchar(50) null, serverIP varchar(50) null,
serverPort int null, serverPort int null,
@ -100,7 +100,8 @@ create table parent_platform
characterSet varchar(50) null, characterSet varchar(50) null,
ptz int null, ptz int null,
rtcp int null, rtcp int null,
status bit(1) null status bit(1) null,
primary key (id, serverGBId)
); );
create table platform_gb_channel create table platform_gb_channel