feat(buchhaltung): recurring job, budget alerts, audit endpoint, konto-typen CRUD

This commit is contained in:
Matthias Hochmeister
2026-03-30 15:04:06 +02:00
parent bbbfc8eaaa
commit d833b3c224
7 changed files with 306 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
-- Migration 081: Add alert_threshold to buchhaltung_konten + default setting
ALTER TABLE buchhaltung_konten
ADD COLUMN IF NOT EXISTS alert_threshold INT CHECK (alert_threshold BETWEEN 0 AND 100);
INSERT INTO buchhaltung_einstellungen (key, value)
VALUES ('default_alert_threshold', '"80"')
ON CONFLICT (key) DO NOTHING;