Fix typos in SQL schema

This commit is contained in:
Peng Bai 2022-07-02 11:28:57 -04:00
parent bccef860dd
commit fd7e08c2d2

View File

@ -71,7 +71,7 @@ CREATE TABLE `cat` (
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
DROP TABLE IF EXISTS `docs`; DROP TABLE IF EXISTS `docs`;
1 SET @saved_cs_client = @@character_set_client */; /*! SET @saved_cs_client = @@character_set_client */;
CREATE TABLE `docs` ( CREATE TABLE `docs` (
`docid` int(11) unsigned NOT NULL AUTO_INCREMENT, `docid` int(11) unsigned NOT NULL AUTO_INCREMENT,
`catid` int(11) DEFAULT NULL, `catid` int(11) DEFAULT NULL,
@ -148,7 +148,7 @@ CREATE TABLE `projects` (
`private` int(11) unsigned NOT NULL DEFAULT 0, `private` int(11) unsigned NOT NULL DEFAULT 0,
`pname` varchar(32) DEFAULT NULL, `pname` varchar(32) DEFAULT NULL,
`comment` varchar(255) DEFAULT '', `comment` varchar(255) DEFAULT '',
(`pid`) PRIMARY KEY (`pid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
DROP TABLE IF EXISTS `role`; DROP TABLE IF EXISTS `role`;