mirror of
https://github.com/Lynnesbian/FediBooks/
synced 2024-12-28 07:18:59 +00:00
change varchar(65535) to text
This commit is contained in:
parent
0895444405
commit
5dd0b2aa03
1 changed files with 2 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
|||
USE `fedibooks`;
|
||||
CREATE TABLE IF NOT EXISTS `users` (
|
||||
`id` BINARY(64) PRIMARY KEY,
|
||||
`email` VARCHAR(128) UNIQUE NOT NULL,
|
||||
|
@ -43,7 +44,7 @@ CREATE TABLE IF NOT EXISTS `fedi_account` (
|
|||
CREATE TABLE IF NOT EXISTS `posts` (
|
||||
`id` BIGINT AUTO_INCREMENT PRIMARY KEY,
|
||||
`post_id` VARCHAR(64) NOT NULL,
|
||||
`content` VARCHAR(65535) NOT NULL,
|
||||
`content` TEXT NOT NULL,
|
||||
`cw` BOOLEAN NOT NULL
|
||||
);
|
||||
CREATE TABLE IF NOT EXISTS `word_blacklist` (
|
||||
|
|
Loading…
Reference in a new issue