3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-10-01 17:16:39 +02: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