add code generator and gitignore
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user