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:
parent
d998f7017d
commit
cd0486e525
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user