This commit is contained in:
Tomas Dvorak
2025-10-24 14:52:46 +02:00
parent 70ea0c3c91
commit 8a7c292e54
41 changed files with 912 additions and 404 deletions
@@ -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 = '';