add code generator and gitignore

This commit is contained in:
2026-09-21 02:52:56 +08:00
parent e6c92e254a
commit 0b891e19d4
3 changed files with 62 additions and 0 deletions
+1
View File
@@ -14,6 +14,7 @@ IP:localhost
直接 from core.database import Base ,否则会出现 Base 不一致的情况,导致数据库无法创建表。
'''
from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker,declarative_base
from .config import (