summaryrefslogtreecommitdiff
path: root/db/install.sql
diff options
context:
space:
mode:
Diffstat (limited to 'db/install.sql')
-rw-r--r--db/install.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/install.sql b/db/install.sql
index 1fc4b939..947eb51e 100644
--- a/db/install.sql
+++ b/db/install.sql
@@ -288,8 +288,8 @@ CREATE TABLE IF NOT EXISTS `Questions` (
`QID` bigint(20) NOT NULL AUTO_INCREMENT,
`UID` int(11) NOT NULL DEFAULT '0',
`Question` text NOT NULL,
- `AID` int(11) NOT NULL DEFAULT '0',
- `Answer` text NOT NULL,
+ `AID` int(11) DEFAULT NULL,
+ `Answer` text,
PRIMARY KEY (`QID`),
KEY `UID` (`UID`),
KEY `AID` (`AID`)