mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 12:57:50 +08:00
调整表中id列的顺序
This commit is contained in:
@@ -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,'
|
||||||
|
|||||||
Reference in New Issue
Block a user