fewfef
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
from peewee import *
|
||||
|
||||
# 连接到 SQLite 数据库,如果文件不存在会自动创建
|
||||
db = SqliteDatabase(r'E:\新建文件夹\lm_job\models\database.db')
|
||||
db = SqliteDatabase(r'database.db')
|
||||
|
||||
import pymysql
|
||||
|
||||
|
||||
@@ -61,11 +61,11 @@ class Weex30Copy(Model):
|
||||
table_name = 'weex_30_copy1'
|
||||
|
||||
|
||||
# # 连接到数据库
|
||||
# db.connect()
|
||||
# 连接到数据库
|
||||
db.connect()
|
||||
#
|
||||
# # 创建表(如果表不存在)
|
||||
# db.create_tables([Weex15])
|
||||
# db.create_tables([Weex1])
|
||||
db.create_tables([Weex30])
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user