This commit is contained in:
27942
2025-12-19 19:16:41 +08:00
parent 060678f203
commit b04a1da4c3
19 changed files with 746788 additions and 192 deletions

View File

@@ -1,7 +1,7 @@
from peewee import *
# 连接到 SQLite 数据库,如果文件不存在会自动创建
db = SqliteDatabase(r'E:\新建文件夹\lm_job\models\database.db')
db = SqliteDatabase(r'database.db')
import pymysql

View File

@@ -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])