Browse Source

the test for this was broken, and we were missing this...

fixing the test takes a bit of work, but likely will dump these
older migrations soon..
main
John-Mark Gurney 2 months ago
parent
commit
cf3a1d65c1
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      ui/medashare/alembic/versions/dff0d9ed0be1_add_property_index.py

+ 2
- 0
ui/medashare/alembic/versions/dff0d9ed0be1_add_property_index.py View File

@@ -55,6 +55,8 @@ def upgrade() -> None:
obj = mdb.MDBase.decode(data)
ObjectStore._update_metadata_indexes(session, obj, strcache)

session.commit()

def downgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.drop_table('propmap')


Loading…
Cancel
Save