添加tags, 修改 存储结构 更加接近制直播的数据存储架构.

This commit is contained in:
eson
2020-07-15 18:22:40 +08:00
parent 75b1d9fb77
commit b63e180499
3 changed files with 56 additions and 13 deletions

View File

@@ -8,7 +8,7 @@ CREATE TABLE IF NOT EXISTS `anchor_info` (
`anchor_name` varchar(255) NOT NULL,
`live_url` text,
`channel` varchar(128) DEFAULT NULL,
`show_type` varchar(255) DEFAULT NULL,
`tags` json DEFAULT NULL,
`ext` json DEFAULT NULL,
`update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`uid`),