Browse Source

优化mysql建库脚本

pull/110/head
panlinlin 4 years ago
parent
commit
1c7f7ef7b7
  1. 7
      sql/mysql.sql

7
sql/mysql.sql

@ -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

Loading…
Cancel
Save