Files
yourpart3/backend/sql/add_character_pregnancy.sql
Torsten Schulz (local) 1ab9407e79
All checks were successful
Deploy to production / deploy (push) Successful in 2m56s
Refactor code structure for improved readability and maintainability; optimize performance across multiple modules.
2026-07-21 09:08:15 +02:00

7 lines
341 B
SQL
Executable File

-- Optional: manuell ausführen, falls Migration nicht genutzt wird
ALTER TABLE falukant_data."character"
ADD COLUMN IF NOT EXISTS pregnancy_due_at TIMESTAMPTZ NULL;
ALTER TABLE falukant_data."character"
ADD COLUMN IF NOT EXISTS pregnancy_father_character_id INTEGER NULL
REFERENCES falukant_data."character"(id) ON DELETE SET NULL;