yesodweb/persistent
Postgres migrations should not trigger if the unique key is too long
Aberta
#1.515 aberto em 29 de ago. de 2023
Postgresbuggood first issue
Métricas do repositório
- Stars
- (484 estrelas)
- Métricas de merge de PR
- (Métricas PR pendentes)
Description
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.