1
0
Fork 0

fix: delete CHECK from telegram_users

This commit is contained in:
def 2023-01-09 01:15:22 +03:00
parent b5e57e80e9
commit 8556316cd8

View file

@ -19,10 +19,10 @@ CREATE TABLE IF NOT EXISTS telegram_user_matrix_chats (
TELEGRAM_USERS_SQL = '''
CREATE TABLE IF NOT EXISTS telegram_users
(
id INTEGER PRIMARY KEY NOT NULL CHECK(id < 15),
first_name TEXT NOT NULL CHECK(first_name < 50),
last_name TEXT CHECK(last_name < 50,
username TEXT CHECK(username < 50),
id INTEGER PRIMARY KEY NOT NULL (15),
first_name TEXT NOT NULL (50),
last_name TEXT (50),
username TEXT (50),
);
'''