mirror of
https://github.com/Dvorinka/MyClubServer.git
synced 2026-06-04 02:32:57 +00:00
dev day #70
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
-- Add style column to polls
|
||||
ALTER TABLE polls ADD COLUMN IF NOT EXISTS style VARCHAR(50) NOT NULL DEFAULT 'auto';
|
||||
|
||||
-- Backfill empty strings to default (optional safety)
|
||||
UPDATE polls SET style = 'auto' WHERE style IS NULL OR style = '';
|
||||
Reference in New Issue
Block a user