Saving changes now that most things have been migrated to CRUD V3 and appear to be working. This still needs testing though.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
from app.models.event_models import *
|
||||
from app.models.event_file_models import *
|
||||
from app.models.event_device_models import *
|
||||
from app.models.event_cfg_models import *
|
||||
|
||||
events_general_obj_li = {
|
||||
'event': {
|
||||
@@ -91,4 +92,22 @@ events_general_obj_li = {
|
||||
'enable', 'hide', 'priority', 'group', 'notes', 'created_on', 'updated_on'
|
||||
],
|
||||
},
|
||||
'event_cfg': {
|
||||
'tbl': 'event_cfg',
|
||||
'tbl_default': 'event_cfg',
|
||||
'tbl_update': 'event_cfg',
|
||||
'mdl': Event_Cfg_Base,
|
||||
'mdl_default': Event_Cfg_Base,
|
||||
'mdl_in': Event_Cfg_Base,
|
||||
'mdl_out': Event_Cfg_Base,
|
||||
# Legacy V2 keys:
|
||||
'table_name': 'event_cfg',
|
||||
'tbl_name_update': 'event_cfg',
|
||||
'base_name': Event_Cfg_Base,
|
||||
# V3 Search Security:
|
||||
'searchable_fields': [
|
||||
'event_cfg_id_random', 'event_id_random', 'enable', 'conference',
|
||||
'status', 'hide', 'priority', 'group', 'notes'
|
||||
],
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user