Change schema

This commit is contained in:
Ceda EI 2019-01-06 23:24:13 +05:30
parent 83a79b7b24
commit 0176c385e9
1 changed files with 2 additions and 2 deletions

View File

@ -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);