From 0176c385e9e74081f343985d9944f591aa859fd6 Mon Sep 17 00:00:00 2001 From: Ceda EI Date: Sun, 6 Jan 2019 23:24:13 +0530 Subject: [PATCH] Change schema --- schema.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schema.sql b/schema.sql index f72f980..8b0443e 100644 --- a/schema.sql +++ b/schema.sql @@ -1,2 +1,2 @@ -CREATE TABLE IF NOT EXISTS poll(callback int NOT NULL, user_id int, UNIQUE(callback, user_id)); -INSERT INTO poll values(0, 0); +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, NULL);