fix(gyms): migration adding gyms.logo where the edited brand-colour migration had already run

This commit is contained in:
andre committed 2026-10-26 09:48:53 +00:00
1 parent 9c28be314b
commit 3ffcf0fe38
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
-- Logótipo do ginásio. A coluna foi acrescentada a migration_20261013_gym_brand_color.sql
-- depois de essa migração já ter corrido nalgumas bases (dev incluída), que por isso
-- ficaram sem ela. Safe to re-run.
ALTER TABLE `gyms` ADD COLUMN IF NOT EXISTS `logo` VARCHAR(255) NOT NULL DEFAULT '' AFTER `brand_color`;