mirror of
https://github.com/Dvorinka/MyClubServer.git
synced 2026-10-28 07:31:16 +00:00
dev day #70
This commit is contained in:
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 = '';
|
||||
Reference in new issue
Block a user