fix: Resolve issue with sqlite index creation
This commit is contained in:
parent
ce64f242b7
commit
ac6dd08855
1 changed files with 2 additions and 0 deletions
|
|
@ -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! ###
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue