update: add notice tags

This commit is contained in:
tokumeikoi
2022-04-15 02:45:52 +08:00
parent 0bcaf2889a
commit d20dce7f69
6 changed files with 14 additions and 6 deletions

View File

@ -101,6 +101,7 @@ CREATE TABLE `v2_notice` (
`content` text NOT NULL,
`show` tinyint(1) NOT NULL DEFAULT '0',
`img_url` varchar(255) DEFAULT NULL,
`tags` varchar(255) DEFAULT NULL,
`created_at` int(11) NOT NULL,
`updated_at` int(11) NOT NULL,
PRIMARY KEY (`id`)
@ -376,4 +377,4 @@ CREATE TABLE `v2_user` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- 2022-03-29 06:56:01
-- 2022-04-14 18:42:31

View File

@ -557,3 +557,6 @@ ALTER TABLE `v2_stat_user`
DROP `server_id`;
ALTER TABLE `v2_stat_user`
DROP `server_type`;
ALTER TABLE `v2_notice`
ADD `tags` varchar(255) COLLATE 'utf8_general_ci' NULL AFTER `img_url`;