updated schema for deletion by timestamp (equivalent to other parts of the app)

This commit is contained in:
2026-07-15 17:08:06 +02:00
parent af62025558
commit f4a4d2d98e
3 changed files with 54 additions and 0 deletions
+2
View File
@@ -9,6 +9,7 @@ Ext_CRM.Ansprechpartner
Grunderfassung_Unternehmen
un_id int pk {autoIncrement}
geloescht "timestamp with time zone" nullable
Metadaten_erstellung "timestamp with time zone"=`datetime.datetime.now(datetime.UTC)` nullable
Metadaten_aktualisierung "timestamp with time zone"=`datetime.datetime.now(datetime.UTC)` nullable {on_update: `datetime.datetime.now(datetime.UTC)`}
Metadaten_nutzer varchar(20) nullable
@@ -21,6 +22,7 @@ Grunderfassung_Unternehmen
Grunderfassung_Personen
pers_id int pk {autoIncrement}
geloescht "timestamp with time zone" nullable
Metadaten_erstellung "timestamp with time zone"=`datetime.datetime.now(datetime.UTC)` nullable
Metadaten_aktualisierung "timestamp with time zone"=`datetime.datetime.now(datetime.UTC)` nullable {on_update: `datetime.datetime.now(datetime.UTC)`}
Metadaten_wiedereintrittsdatum timestamp nullable