This commit is contained in:
Tomas Dvorak committed 2025-10-24 14:52:46 +02:00
1 parent 70ea0c3c91
commit 8a7c292e54
41 files changed
+912 -404

No files matched your search

@@ -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 = '';