This commit is contained in:
resonate
2022-01-23 16:03:40 +08:00
parent ef8044ea22
commit a3c61d3291
15 changed files with 220 additions and 54 deletions
+2 -4
View File
@@ -2,7 +2,6 @@ import datetime
from entrance.extensions import db
from sqlalchemy.orm import relationship
from sqlalchemy import Table
from sqlalchemy import ForeignKey
from sqlalchemy.orm import backref
from marshmallow_sqlalchemy import SQLAlchemyAutoSchema
@@ -38,7 +37,7 @@ class CurdModel(BaseModel):
Column = db.Column
Table = Table
Table = db.Table
relationship = relationship
ForeignKey = ForeignKey
backref = backref
@@ -87,5 +86,4 @@ Enum = db.Enum
ARRAY = db.ARRAY
JSON = db.JSON
SQLAlchemyAutoSchema=SQLAlchemyAutoSchema
SQLAlchemyAutoSchema = SQLAlchemyAutoSchema