Files
yourpart3/backend/migrations
Torsten Schulz (local) f92b62e55b
All checks were successful
Deploy to production / deploy (push) Successful in 2m52s
feat(falukant): enhance tax calculation and update messaging parameters
- Updated the tax calculation logic in FalukantService to include character-based checks for political offices, improving accuracy in tax assessments.
- Enhanced the MessagesDialog component to incorporate additional parameters such as satisfaction, threshold_percent, director_id, and director_character_id, providing more detailed notifications.
- Added new localization entries for director resignation risk notifications in multiple languages, ensuring users receive clear and contextual information regarding director dynamics.
2026-04-13 15:58:30 +02:00
..
2024-07-28 16:12:48 +02:00

Backend-Migrationen (Sequelize)

Migrationen in diesem Ordner werden mit dem Sequelize-CLI ausgeführt (Konfiguration siehe Projekt-Root / backend).

Falukant: Zertifikat und Produktionszählung

Datei Inhalt
20260402140000-add-certificate-productions-count-since.cjs Spalte falukant_data.falukant_user.certificate_productions_count_since (TIMESTAMPTZ, nullable) inkl. Kommentar. Setzt die DB-Grundlage dafür, dass Daemon, Backend und UI dieselbe Periode für „abgeschlossene Produktionen“ nutzen (Filter mit COALESCE(production_timestamp, production_date::timestamp) ab diesem Zeitpunkt; NULL = bisherige Historie).

Eine parallele SQL-Migration im Daemon-Repository (z.B. 014_falukant_certificate_productions_count_since.sql) kann dieselbe Spalte anlegen, wenn das Deployment dort getrennt ist Schema doppelt anlegen vermeiden.

Details zur Zähl- und Retention-Logik: docs/FALUKANT_PRODUCTION_CERTIFICATE.md.