fix: delete CHECK from telegram_users
This commit is contained in:
parent
b5e57e80e9
commit
8556316cd8
1 changed files with 4 additions and 4 deletions
|
@ -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),
|
||||
);
|
||||
'''
|
||||
|
||||
|
|
Loading…
Reference in a new issue