mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
fix: trace_app_config_app_id_idx
This commit is contained in:
parent
4aa8c4b261
commit
430657312f
|
@ -21,7 +21,7 @@ def upgrade():
|
|||
op.drop_table('tracing_app_configs')
|
||||
|
||||
with op.batch_alter_table('trace_app_config', schema=None) as batch_op:
|
||||
batch_op.drop_index('tracing_app_config_app_id_idx')
|
||||
batch_op.drop_index('trace_app_config_app_id_idx')
|
||||
|
||||
# idx_dataset_permissions_tenant_id
|
||||
with op.batch_alter_table('dataset_permissions', schema=None) as batch_op:
|
||||
|
@ -47,7 +47,7 @@ def downgrade():
|
|||
)
|
||||
|
||||
with op.batch_alter_table('trace_app_config', schema=None) as batch_op:
|
||||
batch_op.create_index('tracing_app_config_app_id_idx', ['app_id'])
|
||||
batch_op.create_index('trace_app_config_app_id_idx', ['app_id'])
|
||||
|
||||
with op.batch_alter_table('dataset_permissions', schema=None) as batch_op:
|
||||
batch_op.drop_index('idx_dataset_permissions_tenant_id')
|
||||
|
|
Loading…
Reference in New Issue
Block a user