From 40657033175bbecb983654f43208d9c2c3e37bb6 Mon Sep 17 00:00:00 2001
From: 朱俊杰 <502612493@qq.com>
Date: 星期二, 25 一月 2022 15:42:11 +0800
Subject: [PATCH] 添加lombok,分离注册周期事件

---
 sql/mysql.sql |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/sql/mysql.sql b/sql/mysql.sql
index 8cbd493..c305bd1 100644
--- a/sql/mysql.sql
+++ b/sql/mysql.sql
@@ -111,6 +111,7 @@
 
 create table gb_stream
 (
+    id            int auto_increment,
     app           varchar(255) not null,
     stream        varchar(255) not null,
     gbId          varchar(50)  not null,
@@ -120,6 +121,7 @@
     streamType    varchar(50)  null,
     mediaServerId varchar(50)  null,
     status        int          null,
+    createStamp      int          null,
     primary key (app, stream, gbId)
 );
 
@@ -259,8 +261,8 @@
 create table role (
         id          int auto_increment
                     primary key,
-        name        TEXT NOT NULL,
-        authority   TEXT NOT NULL,
+        name        varchar(50) NOT NULL,
+        authority   varchar(50) NOT NULL,
         createTime  varchar(50)  not null,
         updateTime  varchar(50)  not null
 );

--
Gitblit v1.8.0