removed fields from MetaDataColumn
This commit is contained in:
@@ -27,17 +27,15 @@ class MetaDataTable(Base, BaseMixin):
|
||||
class MetaDataColumn(Base, BaseMixin):
|
||||
__tablename__ = 'meta_data_column'
|
||||
column_name = Column(String, nullable=False)
|
||||
column_sync_name = Column(String)
|
||||
column_type = Column(String)
|
||||
column_modifier = Column(String, nullable=True)
|
||||
column_order = Column(Integer)
|
||||
is_shown = Column(Boolean)
|
||||
column_label = Column(String)
|
||||
show_filter = Column(Boolean)
|
||||
filter_label = Column(String)
|
||||
ref_column = Column(String, nullable=True)
|
||||
table_id = Column(String, ForeignKey('meta_data_table.id'))
|
||||
table = relationship("MetaDataTable", back_populates="table_columns")
|
||||
column_label = Column(String)
|
||||
filter_label = Column(String)
|
||||
is_shown = Column(Boolean)
|
||||
show_filter = Column(Boolean)
|
||||
ref_column = Column(String, nullable=True)
|
||||
|
||||
def __repr__(self):
|
||||
if self.column_name is None:
|
||||
@@ -54,13 +52,11 @@ class MetaDataColumn(Base, BaseMixin):
|
||||
self.last_modified_date = import_data['last_modified_date']
|
||||
self.version = import_data['version']
|
||||
self.column_name = import_data['column_name']
|
||||
self.column_sync_name = import_data['column_sync_name']
|
||||
self.column_type = import_data['column_type']
|
||||
self.column_modifier = import_data['column_modifier']
|
||||
self.column_order = import_data['column_order']
|
||||
self.table_id = import_data['table_id']
|
||||
self.column_label = import_data['column_label']
|
||||
self.filter_label = import_data['filter_label']
|
||||
self.is_shown = import_data['is_shown']
|
||||
self.column_label = import_data['column_label']
|
||||
self.show_filter = import_data['show_filter']
|
||||
self.filter_label = import_data['filter_label']
|
||||
self.ref_column = import_data['ref_column']
|
||||
|
||||
Reference in New Issue
Block a user