Nye-TeeOff/migrations/2026-05-06_add_course_include_in_physical_hole_total.sql

7 lines
211 B
MySQL
Raw Normal View History

2026-05-10 08:04:51 +02:00
ALTER TABLE courses
ADD COLUMN IF NOT EXISTS include_in_physical_hole_total BOOLEAN NOT NULL DEFAULT TRUE;
UPDATE courses
SET include_in_physical_hole_total = TRUE
WHERE include_in_physical_hole_total IS NULL;