Skip to content

Commit

Permalink
fix name
Browse files Browse the repository at this point in the history
  • Loading branch information
jzbahrai committed Oct 18, 2023
1 parent 80bf80b commit c2c80e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrations/versions/0439_add_index_n_history.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def index_exists(name):
# option 1
def upgrade():
op.execute("COMMIT")
if not index_exists("ix_notifications_created_by_id"):
if not index_exists("ix_notification_history_created_by_id"):
op.create_index(
op.f("ix_notification_history_created_by_id"), "notification_history", ["created_by_id"], postgresql_concurrently=True
)
Expand Down

0 comments on commit c2c80e1

Please sign in to comment.