Initial commit
This commit is contained in:
18457
docs/index.html
Normal file
18457
docs/index.html
Normal file
File diff suppressed because one or more lines are too long
61
docs/schema.dbml
Normal file
61
docs/schema.dbml
Normal file
@ -0,0 +1,61 @@
|
||||
//// ------------------------------------------------------
|
||||
//// THIS FILE WAS AUTOMATICALLY GENERATED (DO NOT MODIFY)
|
||||
//// ------------------------------------------------------
|
||||
|
||||
Project "AssetFlow" {
|
||||
database_type: ''
|
||||
Note: ''
|
||||
}
|
||||
|
||||
Table AlarmContacts {
|
||||
id Int [pk, increment]
|
||||
name String [not null]
|
||||
phone String [unique, not null]
|
||||
comment String
|
||||
Prios Priorities [not null]
|
||||
}
|
||||
|
||||
Table Priorities {
|
||||
id Int [pk, increment]
|
||||
Contact AlarmContacts [not null]
|
||||
contactId Int [not null]
|
||||
priority Int [not null]
|
||||
actionplan ActionPlan [not null]
|
||||
actionplanId Int [not null]
|
||||
|
||||
indexes {
|
||||
(priority, actionplanId) [unique]
|
||||
}
|
||||
}
|
||||
|
||||
Table ActionPlan {
|
||||
id Int [pk, increment]
|
||||
name String [not null]
|
||||
comment String
|
||||
prio Priorities [not null]
|
||||
content Content [not null]
|
||||
}
|
||||
|
||||
Table Content {
|
||||
id Int [pk, increment]
|
||||
type contentType [not null]
|
||||
name String [not null]
|
||||
filename String [not null]
|
||||
actionplan ActionPlan [not null]
|
||||
}
|
||||
|
||||
Table ActionPlanToContent {
|
||||
contentId Int [ref: > Content.id]
|
||||
actionplanId Int [ref: > ActionPlan.id]
|
||||
}
|
||||
|
||||
Enum contentType {
|
||||
voice_alarm
|
||||
voice_explainer
|
||||
voice_acknowledgement
|
||||
voice_ending
|
||||
}
|
||||
|
||||
Ref: Priorities.contactId > AlarmContacts.id
|
||||
|
||||
Ref: Priorities.actionplanId > ActionPlan.id
|
1
docs/styles/main.css
Normal file
1
docs/styles/main.css
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user