fix: Resolve issue with sqlite index creation

This commit is contained in:
Igor Ilic 2025-11-06 14:35:26 +01:00
parent ce64f242b7
commit ac6dd08855

View file

@ -126,6 +126,8 @@ def upgrade() -> None:
conn = op.get_bind()
conn.execute(dataset.update().values(tenant_id=tenant_id_from_dataset_owner))
op.create_index(op.f("ix_datasets_tenant_id"), "datasets", ["tenant_id"])
def downgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###