update
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
-- Migration 032: Add FDISK-scraped profile fields to mitglieder_profile
|
||||
ALTER TABLE mitglieder_profile ADD COLUMN IF NOT EXISTS geburtsort VARCHAR(128);
|
||||
ALTER TABLE mitglieder_profile ADD COLUMN IF NOT EXISTS geschlecht VARCHAR(1);
|
||||
ALTER TABLE mitglieder_profile ADD COLUMN IF NOT EXISTS geschlecht VARCHAR(32);
|
||||
ALTER TABLE mitglieder_profile ADD COLUMN IF NOT EXISTS beruf VARCHAR(255);
|
||||
ALTER TABLE mitglieder_profile ADD COLUMN IF NOT EXISTS wohnort VARCHAR(128);
|
||||
ALTER TABLE mitglieder_profile ADD COLUMN IF NOT EXISTS plz VARCHAR(16);
|
||||
|
||||
2
backend/src/database/migrations/036_widen_geschlecht.sql
Normal file
2
backend/src/database/migrations/036_widen_geschlecht.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
-- Migration 036: Widen geschlecht column (was VARCHAR(1), stores full text like 'männlich')
|
||||
ALTER TABLE mitglieder_profile ALTER COLUMN geschlecht TYPE VARCHAR(32);
|
||||
Reference in New Issue
Block a user