Files
pn-new-crm/src/lib/db/migrations/0087_interest_use_yacht_dims.sql

12 lines
508 B
MySQL
Raw Normal View History

2026-05-25 17:22:57 +02:00
-- 0087_interest_use_yacht_dims.sql
-- Adds a per-interest toggle so the berth recommender can read the
-- linked yacht's dimensions instead of the rep-entered `desired_*`
-- values. Defaults to false so existing data continues to use the
-- desired-dims path the recommender has always used.
--
-- Per docs/superpowers/audits/alpha-uat-master.md Bucket 3 #1:
-- "Interest dimensions: dual-source model".
ALTER TABLE interests
ADD COLUMN IF NOT EXISTS use_yacht_dimensions boolean NOT NULL DEFAULT false;