yesodweb/persistent

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

开放

#1,515 创建于 2023年8月29日

 (2 条评论) (0 个反应) (0 位负责人)Haskell (302 个派生)auto 404
Postgresbuggood first issue

仓库指标

星标
 (484 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南