|
@@ -55,6 +55,8 @@ def upgrade() -> None: |
|
|
obj = mdb.MDBase.decode(data) |
|
|
obj = mdb.MDBase.decode(data) |
|
|
ObjectStore._update_metadata_indexes(session, obj, strcache) |
|
|
ObjectStore._update_metadata_indexes(session, obj, strcache) |
|
|
|
|
|
|
|
|
|
|
|
session.commit() |
|
|
|
|
|
|
|
|
def downgrade() -> None: |
|
|
def downgrade() -> None: |
|
|
# ### commands auto generated by Alembic - please adjust! ### |
|
|
# ### commands auto generated by Alembic - please adjust! ### |
|
|
op.drop_table('propmap') |
|
|
op.drop_table('propmap') |
|
|