feat(gyms): per-gym brand colour; CrossFit pill follows it
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
716eec9f6d
commit
4b2823d1e5
6 files changed
+47
-14
No files matched your search
@@ -0,0 +1,5 @@
|
||||
-- Cor de marca por ginásio (hex #RRGGBB). Vazio = verde FitMe por defeito.
|
||||
-- Ginásio 1 = verde; o ginásio 2 usa vermelho (definir em Gestão → Ginásios).
|
||||
-- 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` = '';
|
||||
Reference in new issue
Block a user