refactor: change kontonummer to INTEGER, derive sub-account number as parent + suffix (arithmetic)

This commit is contained in:
Matthias Hochmeister
2026-03-30 11:23:07 +02:00
parent 5f25d644f4
commit e4f1d8864a
3 changed files with 26 additions and 22 deletions

View File

@@ -0,0 +1,3 @@
-- Convert kontonummer from TEXT to INTEGER
ALTER TABLE buchhaltung_konten
ALTER COLUMN kontonummer TYPE INTEGER USING kontonummer::INTEGER;