feat(gyms): gym logo field; other-gym navbar button uses that gym's brand colour and logo

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
andreandClaude Sonnet 5.5 committed 2026-10-13 17:45:17 +01:00
1 parent 32f8d7a613
commit 58d5199883
6 files changed
+42 -10

No files matched your search

@@ -3,3 +3,6 @@
-- Safe to re-run.
ALTER TABLE `gyms` ADD COLUMN IF NOT EXISTS `brand_color` VARCHAR(7) NOT NULL DEFAULT '' AFTER `has_crossfit`;
UPDATE `gyms` SET `brand_color` = '#C2D500' WHERE `id` = 1 AND `brand_color` = '';
-- Logótipo do ginásio (caminho relativo, ex.: site/assets/img/logos/ginasio.svg).
ALTER TABLE `gyms` ADD COLUMN IF NOT EXISTS `logo` VARCHAR(255) NOT NULL DEFAULT '' AFTER `brand_color`;