Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
paulineribeyre committed Feb 22, 2023
1 parent 1f30231 commit c0e018a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions migrations/versions/a04a70296688_non_unique_client_name.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ def upgrade():

# the `name` does not have to be unique anymore: remove the constraints
for name in name_constraints:
logger.info(f"Droppping 'unique client name' constraint: '{name[0]}'")
op.drop_constraint(name[0], "client")
logger.info(f"Droppping 'unique client name' constraint: '{name}'")
op.drop_constraint(name, "client")


def downgrade():
Expand Down

0 comments on commit c0e018a

Please sign in to comment.