Updating schemas to support content_type

This commit is contained in:
shockrah
2021-03-09 00:03:12 -08:00
parent ae675d000b
commit ddb08818b1
3 changed files with 6 additions and 7 deletions

View File

@@ -2,7 +2,8 @@
CREATE TABLE IF NOT EXISTS `messages`(
`id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT,
`time` BIGINT NOT NULL,
`content` VARCHAR(2048) NOT NULL,
`content` VARCHAR(4096) NOT NULL,
`content_type` VARCHAR NOT NULL,
`author_id` BIGINT UNSIGNED NOT NULL,
`channel_id` BIGINT UNSIGNED NOT NULL,
PRIMARY KEY (`id`),