mirror of
https://github.com/Dvorinka/MyClubServer.git
synced 2026-06-04 02:32:57 +00:00
upload
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
-- +goose Up
|
||||
-- Add font configuration fields to settings table
|
||||
ALTER TABLE settings ADD COLUMN IF NOT EXISTS font_heading VARCHAR(255) DEFAULT '';
|
||||
ALTER TABLE settings ADD COLUMN IF NOT EXISTS font_body VARCHAR(255) DEFAULT '';
|
||||
|
||||
-- Set default values for existing records
|
||||
UPDATE settings SET font_heading = 'Inter' WHERE font_heading IS NULL OR font_heading = '';
|
||||
UPDATE settings SET font_body = 'Inter' WHERE font_body IS NULL OR font_body = '';
|
||||
Reference in New Issue
Block a user