Something wrong

Add login table primary key
This commit is contained in:
Lost-MSth
2020-12-09 21:13:30 +08:00
parent 80122d749e
commit 5771d0c669
2 changed files with 1 additions and 1 deletions

View File

@@ -36,7 +36,7 @@ current_map text,
ticket int
);''')
c.execute('''create table if not exists login(access_token text,
user_id int,
user_id int primary key,
last_login_time int,
last_login_ip text,
last_login_device text