pull/26/head
Aidaho12 2018-07-26 10:24:51 +06:00
parent cc139aa36c
commit f251338d06
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ def update_db_v_2_4(**kwargs):
def update_db_v_2_5_3(**kwargs):
con, cur = get_cur()
sql = """
CREATE TABLE IF NOT EXISTS `cred` (`enable` INTEGER NOT NULL DEFAULT 1, `username` VARCHAR ( 64 ) NOT NULL, `password` VARCHAR ( 64 ) NOT NULL );
CREATE TABLE IF NOT EXISTS `cred` (`id` integer primary key autoincrement, `enable` INTEGER NOT NULL DEFAULT 1, `username` VARCHAR ( 64 ) NOT NULL, `password` VARCHAR ( 64 ) NOT NULL );
"""
try:
cur.execute(sql)