yesodweb/persistent

Postgres migrations should not trigger if the unique key is too long

Offen

#1.515 geöffnet am 29.08.2023

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Haskell (302 Forks)auto 404
Postgresbuggood first issue

Repository-Metriken

Stars
 (484 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

A table with a long uniqueness key will trigger a migration, but Postgres will silently truncate it to the original length. persistent-postgresql's migrations should truncate the name of a constraint before checking if it needs to be renamed.

Contributor Guide