gosora/schema/mysql/query_revisions.sql

8 lines
279 B
SQL

CREATE TABLE `revisions` (
`reviseID` int not null AUTO_INCREMENT,
`content` text not null,
`contentID` int not null,
`contentType` varchar(100) DEFAULT 'replies' not null,
`createdAt` datetime not null,
primary key(`reviseID`)
) CHARSET=utf8mb4 COLLATE utf8mb4_general_ci;