Implement marriage pregnancy management in UserCharacterWorker: Added SQL queries for handling marriage-related births and conception updates. Refactored pregnancy processing logic to accommodate new marriage pregnancy features, including checks for migration readiness and streamlined delivery processing. Enhanced documentation for clarity on marriage pregnancy mechanics.
This commit is contained in:
8
migrations/008_falukant_marriage_pregnancy_due.sql
Normal file
8
migrations/008_falukant_marriage_pregnancy_due.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
-- Ehe-Schwangerschaft: Konzeption setzt Fälligkeit; Geburt erst nach Ablauf (Daemon: 5 Tage Wartezeit).
|
||||
-- Verhindert „sofortige“ Geburt beim stündlichen Wurf und entspricht der Erwartung, dass nach wenigen Tagen etwas passiert.
|
||||
|
||||
ALTER TABLE falukant_data.relationship
|
||||
ADD COLUMN IF NOT EXISTS marriage_pregnancy_due_at timestamptz NULL;
|
||||
|
||||
COMMENT ON COLUMN falukant_data.relationship.marriage_pregnancy_due_at IS
|
||||
'Ehe: Nach erfolgreicher Konzeption (stündlicher Wurf) Zeitpunkt der Geburt; NULL = nicht schwanger';
|
||||
Reference in New Issue
Block a user