schema updates
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user