From 2e3d8c73430af5ac9d4565a8941a01a7d774580f Mon Sep 17 00:00:00 2001 From: mike cullerton Date: Tue, 1 Jun 2021 13:51:10 -0400 Subject: [PATCH] Fix for DataStoreSchema missing the file_id column. The file_id column is a foreign key. --- crc/models/data_store.py | 1 + 1 file changed, 1 insertion(+) diff --git a/crc/models/data_store.py b/crc/models/data_store.py index 07017cee..a156e004 100644 --- a/crc/models/data_store.py +++ b/crc/models/data_store.py @@ -25,4 +25,5 @@ class DataStoreSchema(SQLAlchemyAutoSchema): class Meta: model = DataStoreModel load_instance = True + include_fk = True sqla_session = db.session