From fd7e08c2d2abfa83154eabfdc00e7a4bb276a075 Mon Sep 17 00:00:00 2001 From: Peng Bai Date: Sat, 2 Jul 2022 11:28:57 -0400 Subject: [PATCH] Fix typos in SQL schema --- archive.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archive.sql b/archive.sql index 5ea6d60..cc3c3f7 100644 --- a/archive.sql +++ b/archive.sql @@ -71,7 +71,7 @@ CREATE TABLE `cat` ( ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; DROP TABLE IF EXISTS `docs`; -1 SET @saved_cs_client = @@character_set_client */; +/*! SET @saved_cs_client = @@character_set_client */; CREATE TABLE `docs` ( `docid` int(11) unsigned NOT NULL AUTO_INCREMENT, `catid` int(11) DEFAULT NULL, @@ -148,7 +148,7 @@ CREATE TABLE `projects` ( `private` int(11) unsigned NOT NULL DEFAULT 0, `pname` varchar(32) DEFAULT NULL, `comment` varchar(255) DEFAULT '', - (`pid`) + PRIMARY KEY (`pid`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; DROP TABLE IF EXISTS `role`; -- 2.30.2