Fix for DataStoreSchema missing the file_id column.

The file_id column is a foreign key.
This commit is contained in:
mike cullerton 2021-06-01 13:51:10 -04:00
parent 1ed144536f
commit 2e3d8c7343

View File

@ -25,4 +25,5 @@ class DataStoreSchema(SQLAlchemyAutoSchema):
class Meta:
model = DataStoreModel
load_instance = True
include_fk = True
sqla_session = db.session