Merge pull request #160 from robofish/questionFix
Fixed database schema to allow questions again
This commit is contained in:
commit
82ad127fc9
|
@ -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`)
|
||||||
|
|
Loading…
Reference in New Issue