调整表中id列的顺序

This commit is contained in:
Jing Ling
2020-03-01 11:38:38 +08:00
parent bf0a9e92ce
commit bf94afff20
+1 -1
View File
@@ -56,10 +56,10 @@ class Database(object):
return return
logger.log('TRACE', f'正在创建{table_name}') logger.log('TRACE', f'正在创建{table_name}')
self.query(f'create table "{table_name}" (' self.query(f'create table "{table_name}" ('
f'id integer primary key,'
f'type text,' f'type text,'
f'valid int,' f'valid int,'
f'new int,' f'new int,'
f'id integer primary key,'
f'url text,' f'url text,'
f'subdomain text,' f'subdomain text,'
f'port int,' f'port int,'