DB init scripts

This commit is contained in:
2016-09-03 22:43:51 +03:00
parent 97d7ec8b13
commit 03d4a4d662
5 changed files with 216 additions and 6 deletions

26
db_scripts/README Normal file
View File

@@ -0,0 +1,26 @@
##### static_groups #####
ID | NAME | CREATED | OWNER(FK-users) | LAST_MOD_TIME | LAST_MOD_USER | COMMENT
##### dynamic_groups #####
##### managed_servers #####
ID | NAME | IP | MAC | FQDN | OS | ADDED | ACTIVE | COMMENT
##### scripts #####
ID | NAME | TYPE(FK-script_types) | CREATED | OWNER(FK-users) | LAST_MOD_TIME | CONTENT | COMMENT
##### script_types #####
ID | DESCR
##### script_logs #####
ID | JID | STARTED | ENDED | STDOUT | STDERR | EXIT_CODE
##### jobs #####
ID | TYPEID(FK-jobs_types) | OWNER(FK-users) | STARTED | ENDED | STATUS
##### job_types #####
ID | TYPE
##### users #####
ID | USERNAME | NAME | ADDED | LAST_LOG | LAST_OUT | EMAIL | COMMENT