This commit is contained in:
27942
2025-10-13 11:22:02 +08:00
parent 48028edf56
commit ea085f244b
5 changed files with 68 additions and 256 deletions

View File

@@ -1,4 +1,4 @@
from peewee import *
# 连接到 SQLite 数据库,如果文件不存在会自动创建
db = SqliteDatabase('database.db')
db = SqliteDatabase(r'C:\Users\27942\Desktop\job\models\database.db')