From f62f1e0a1113da01acd0cf17970be7635e5ddbc6 Mon Sep 17 00:00:00 2001 From: aydawka Date: Fri, 20 Oct 2023 17:42:12 -0700 Subject: [PATCH] fix: dataset other --- model/dataset_metadata/dataset_other.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/model/dataset_metadata/dataset_other.py b/model/dataset_metadata/dataset_other.py index cdcf2df2..faaa68b5 100644 --- a/model/dataset_metadata/dataset_other.py +++ b/model/dataset_metadata/dataset_other.py @@ -7,8 +7,17 @@ class DatasetOther(db.Model): # type: ignore def __init__(self, dataset): self.dataset = dataset + self.resource_type = "" + self.language = None + self.managing_organization_name = "" + self.managing_organization_ror_id = "" + self.size = "" + self.standards_followed = "" + self.acknowledgement = "" + self.publisher = [] __tablename__ = "dataset_other" + resource_type = db.Column(db.String, nullable=False) language = db.Column(db.String, nullable=True) managing_organization_name = db.Column(db.String, nullable=False)