Changed the name of the metadata column
This commit is contained in:
parent
b91df79041
commit
89b6b55766
@ -728,7 +728,7 @@ def add_metadata_column(db):
|
||||
|
||||
media_entry = inspect_table(metadata, 'core__media_entries')
|
||||
|
||||
col = Column('metadata', MutationDict.as_mutable(JSONEncoded))
|
||||
col = Column('media_metadata', MutationDict.as_mutable(JSONEncoded))
|
||||
col.create(media_entry)
|
||||
|
||||
db.commit()
|
||||
|
@ -264,7 +264,7 @@ class MediaEntry(Base, MediaEntryMixin):
|
||||
cascade="all, delete-orphan"
|
||||
)
|
||||
collections = association_proxy("collections_helper", "in_collection")
|
||||
metadata = Column(MutationDict.as_mutable(JSONEncoded))
|
||||
media_metadata = Column(MutationDict.as_mutable(JSONEncoded))
|
||||
|
||||
## TODO
|
||||
# fail_error
|
||||
|
Loading…
x
Reference in New Issue
Block a user