yesodweb/persistent

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

オープン

#1,515 opened on 2023/08/29

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)Haskell (302 件のフォーク)auto 404
Postgresbuggood first issue

Repository metrics

Stars
 (484 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド