reserved keyword issue

pull/42/head
Can KAYA 2018-09-25 19:41:00 +03:00 committed by GitHub
parent ef9f213a2f
commit 65e29a82c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -251,7 +251,7 @@ def update_db_v_3_2_3(**kwargs):
def update_db_v_3_2_8(**kwargs):
con, cur = get_cur()
sql = """
ALTER TABLE `servers` ADD COLUMN desc varchar(64);
ALTER TABLE `servers` ADD COLUMN `desc` varchar(64);
"""
try:
cur.execute(sql)
@ -286,4 +286,4 @@ def update_all_silent():
if __name__ == "__main__":
create_table()
update_all()