Channel-Poll-Bot/schema.sql

3 lines
127 B
SQL

CREATE TABLE IF NOT EXISTS poll(callback int NOT NULL, user_id int, UNIQUE(callback, user_id));
INSERT INTO poll values(0, 0);