schema updates

This commit is contained in:
2025-02-03 22:23:37 +01:00
parent 2e8ee7ca5c
commit 8383080395
3 changed files with 78 additions and 43 deletions

View File

@ -2,7 +2,7 @@
//// THIS FILE WAS AUTOMATICALLY GENERATED (DO NOT MODIFY)
//// ------------------------------------------------------
Project "AssetFlow" {
Project "ATAS" {
database_type: ''
Note: ''
}
@ -10,11 +10,11 @@ Project "AssetFlow" {
Table alerts {
id Int [pk, increment]
type alertType [not null]
message String
state alertState [not null]
description String
date DateTime [not null]
actionplan actionPlan
actionplanId Int
date DateTime [not null]
state alertState [not null]
acknowledged_by alertContacts [not null]
acknowledged_at DateTime
}
@ -30,9 +30,9 @@ Table alertContacts {
Table actionPlan {
id Int [pk, increment]
name String [not null]
name String [unique, not null]
comment String
alert_hook String [unique, not null]
alerthook String [unique, not null]
prio priorities [not null]
content content [not null]
alerts alerts [not null]
@ -85,7 +85,7 @@ Enum alertType {
}
Enum alertState {
incomming
incoming
running
failed
acknowledged