3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-12-23 19:22:40 +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'); $self->{dbh}->do(<< 'SQL');
CREATE TABLE IF NOT EXISTS WrongAnswers ( CREATE TABLE IF NOT EXISTS WrongAnswers (
id INTEGER, id INTEGER,
answer TEXT UNIQUE NOT NULL COLLATE NOCASE, answer TEXT NOT NULL COLLATE NOCASE,
count INTEGER DEFAULT 1 count INTEGER DEFAULT 1
) )
SQL SQL