Skip to content
Snippets Groups Projects
Commit 166ec57c authored by Guillaume Vagner's avatar Guillaume Vagner
Browse files

not enought bits

parent 4f549e6e
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ function query(req) {
Promise.all([
query(`CREATE TABLE IF NOT EXISTS channel(
chatId INT PRIMARY KEY NOT NULL,
chatId BIGINT PRIMARY KEY NOT NULL,
username TEXT,
state TEXT,
token TEXT,
......@@ -38,7 +38,7 @@ Promise.all([
)`),
query(`CREATE TABLE IF NOT EXISTS groups(
chatId INT NOT NULL,
chatId BIGINT NOT NULL,
grp INT,
primary key (chatId, grp)
)`)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment