Files
fitme3070.pt/database/migration_20260612_info_maps_widen.sql
T
2026-06-12 21:20:23 +01:00

9 lines
509 B
SQL

-- ─── Widen the Maps columns to avoid truncation (D8) ────────────────────────
-- A Google Maps embed (<iframe …>) and a Maps share link are frequently longer
-- than the original varchar(500)/varchar(100), which silently truncated them
-- (breaking the embed). Promote to TEXT / varchar(255).
ALTER TABLE `fitme3070_info`
MODIFY `google_maps` TEXT NOT NULL DEFAULT '',
MODIFY `google_maps_link` VARCHAR(255) NOT NULL DEFAULT '';