Skip to content

Commit

Permalink
fixup! Provide support for UniqueConstraint.deferrable
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelofern committed Jan 13, 2025
1 parent a59726c commit e3a6806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/django_pg_migration_tools/operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ def create_unique_constraint(
if constraint.deferrable == models.Deferrable.DEFERRED:
sql += " DEFERRABLE INITIALLY DEFERRED"
else:
# Note that there are only too options for models.Deferrable:
# Note that there are only two options for models.Deferrable:
# IMMEDIATE or DEFERRED. models.Deferrable.IMMEDIATE is the default
# and most common case. DEFERRED is also Postgres default when no
# deferrable setting was specified. This means that having an
Expand Down

0 comments on commit e3a6806

Please sign in to comment.