MySQL NULL distinct 與 paranoid 的 unique index 陷阱
Why [shop_id, provider, deleted_at] unique does not block duplicate active rows
TAG INDEX / MySQL
所有標記為「MySQL」的工程筆記。
Why [shop_id, provider, deleted_at] unique does not block duplicate active rows
Why validates_uniqueness_of is not enough, and how to retry safely
Why t.references + add_foreign_key can fail on legacy MySQL schemas