fix: delete CHECK from telegram_users
This commit is contained in:
parent
b5e57e80e9
commit
8556316cd8
|
@ -19,10 +19,10 @@ CREATE TABLE IF NOT EXISTS telegram_user_matrix_chats (
|
||||||
TELEGRAM_USERS_SQL = '''
|
TELEGRAM_USERS_SQL = '''
|
||||||
CREATE TABLE IF NOT EXISTS telegram_users
|
CREATE TABLE IF NOT EXISTS telegram_users
|
||||||
(
|
(
|
||||||
id INTEGER PRIMARY KEY NOT NULL CHECK(id < 15),
|
id INTEGER PRIMARY KEY NOT NULL (15),
|
||||||
first_name TEXT NOT NULL CHECK(first_name < 50),
|
first_name TEXT NOT NULL (50),
|
||||||
last_name TEXT CHECK(last_name < 50,
|
last_name TEXT (50),
|
||||||
username TEXT CHECK(username < 50),
|
username TEXT (50),
|
||||||
);
|
);
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
Reference in a new issue