3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-19 10:29:30 +01:00

Remove UNIQUE constraint from WrongAnswers

This commit is contained in:
Pragmatic Software 2015-05-23 09:25:20 -07:00
parent d998f7017d
commit cd0486e525

View File

@ -56,7 +56,7 @@ SQL
$self->{dbh}->do(<< 'SQL');
CREATE TABLE IF NOT EXISTS WrongAnswers (
id INTEGER,
answer TEXT UNIQUE NOT NULL COLLATE NOCASE,
answer TEXT NOT NULL COLLATE NOCASE,
count INTEGER DEFAULT 1
)
SQL