Change schema
This commit is contained in:
parent
83a79b7b24
commit
0176c385e9
|
@ -1,2 +1,2 @@
|
||||||
CREATE TABLE IF NOT EXISTS poll(callback int NOT NULL, user_id int, UNIQUE(callback, user_id));
|
CREATE TABLE IF NOT EXISTS poll(callback int NOT NULL, user_id int, name varchar, UNIQUE(callback, user_id));
|
||||||
INSERT INTO poll values(0, 0);
|
INSERT INTO poll values(0, 0, NULL);
|
||||||
|
|
Loading…
Reference in New Issue