Merge pull request #160 from robofish/questionFix

Fixed database schema to allow questions again
This commit is contained in:
msquare 2014-11-25 18:38:18 +01:00
commit 82ad127fc9
1 changed files with 2 additions and 2 deletions

View File

@ -288,8 +288,8 @@ CREATE TABLE IF NOT EXISTS `Questions` (
`QID` bigint(20) NOT NULL AUTO_INCREMENT, `QID` bigint(20) NOT NULL AUTO_INCREMENT,
`UID` int(11) NOT NULL DEFAULT '0', `UID` int(11) NOT NULL DEFAULT '0',
`Question` text NOT NULL, `Question` text NOT NULL,
`AID` int(11) NOT NULL DEFAULT '0', `AID` int(11) DEFAULT NULL,
`Answer` text NOT NULL, `Answer` text,
PRIMARY KEY (`QID`), PRIMARY KEY (`QID`),
KEY `UID` (`UID`), KEY `UID` (`UID`),
KEY `AID` (`AID`) KEY `AID` (`AID`)