/
iezhelev
/
cppsh2
Обзор
Документация
Войти
/
iezhelev
/
cppsh2
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
cppsh/schemas/ru.ideaplatform.cppsh.database.AppDatabase/1.json
1 546 строк
47 KB
iezhelev
first commit
10 май 2025, 14:06
10 май 2025, 14:06
cef3ce0
Код
Авторство
О чём код?
{ "formatVersion": 1, "database": { "version": 1, "identityHash": "8961fb4bb5f0a678f95e3c62d77dce93", "entities": [ { "tableName": "notification", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `message` TEXT NOT NULL, `type` TEXT NOT NULL, `time` INTEGER NOT NULL, `is_viewed` INTEGER NOT NULL, PRIMARY KEY(`id`))", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "TEXT", "notNull": true }, { "fieldPath": "message", "columnName": "message", "affinity": "TEXT", "notNull": true }, { "fieldPath": "type", "columnName": "type", "affinity": "TEXT", "notNull": true }, { "fieldPath": "time", "columnName": "time", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "isViewed", "columnName": "is_viewed", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "id" ] }, "indices": [], "foreignKeys": [] }, { "tableName": "Upload", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `tablename` TEXT NOT NULL, `record_id` TEXT NOT NULL, `record_numeric_id` INTEGER, `prev_record_json` TEXT, `action` INTEGER NOT NULL, `workflow_transition` TEXT, `json_body` TEXT, `data` BLOB, `filename` TEXT, `user` INTEGER NOT NULL, `time` INTEGER NOT NULL, `status` TEXT)", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "tablename", "columnName": "tablename", "affinity": "TEXT", "notNull": true }, { "fieldPath": "recordId", "columnName": "record_id", "affinity": "TEXT", "notNull": true }, { "fieldPath": "recordNumericId", "columnName": "record_numeric_id", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "prevRecordJson", "columnName": "prev_record_json", "affinity": "TEXT", "notNull": false }, { "fieldPath": "action", "columnName": "action", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "workflowTransition", "columnName": "workflow_transition", "affinity": "TEXT", "notNull": false }, { "fieldPath": "jsonBody", "columnName": "json_body", "affinity": "TEXT", "notNull": false }, { "fieldPath": "data", "columnName": "data", "affinity": "BLOB", "notNull": false }, { "fieldPath": "fileName", "columnName": "filename", "affinity": "TEXT", "notNull": false }, { "fieldPath": "userId", "columnName": "user", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "time", "columnName": "time", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "status", "columnName": "status", "affinity": "TEXT", "notNull": false } ], "primaryKey": { "autoGenerate": true, "columnNames": [ "id" ] }, "indices": [], "foreignKeys": [] }, { "tableName": "user", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `displayname` TEXT NOT NULL, PRIMARY KEY(`id`))", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "displayname", "columnName": "displayname", "affinity": "TEXT", "notNull": true } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "id" ] }, "indices": [], "foreignKeys": [] }, { "tableName": "workflowstep", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`shortname` TEXT NOT NULL, `id_numeric` INTEGER NOT NULL, `createdbyid` INTEGER, `createdtime` INTEGER, `updatedbyid` INTEGER, `updatedtime` INTEGER, `displayname` TEXT NOT NULL, `workflowid` INTEGER NOT NULL, `internalname` TEXT NOT NULL, `id` TEXT NOT NULL, PRIMARY KEY(`shortname`))", "fields": [ { "fieldPath": "shortname", "columnName": "shortname", "affinity": "TEXT", "notNull": true }, { "fieldPath": "idNumeric", "columnName": "id_numeric", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "createdBy", "columnName": "createdbyid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "createdTime", "columnName": "createdtime", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "updatedBy", "columnName": "updatedbyid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "updatedtime", "columnName": "updatedtime", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "displayname", "columnName": "displayname", "affinity": "TEXT", "notNull": true }, { "fieldPath": "workflowId", "columnName": "workflowid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "stepName", "columnName": "internalname", "affinity": "TEXT", "notNull": true }, { "fieldPath": "id", "columnName": "id", "affinity": "TEXT", "notNull": true } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "shortname" ] }, "indices": [], "foreignKeys": [] }, { "tableName": "comment", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`shortname` TEXT NOT NULL, `source` TEXT, `workspaceid` INTEGER, `createdtime` INTEGER, `updatedtime` INTEGER, `subject` TEXT, `comment` TEXT, `isactive` INTEGER, `parentcommentid` INTEGER, `entitytypeid` INTEGER, `updatedbyid` INTEGER, `createdbyid` INTEGER, `commentid` INTEGER, `entityid` INTEGER, PRIMARY KEY(`shortname`))", "fields": [ { "fieldPath": "shortname", "columnName": "shortname", "affinity": "TEXT", "notNull": true }, { "fieldPath": "source", "columnName": "source", "affinity": "TEXT", "notNull": false }, { "fieldPath": "workspaceid", "columnName": "workspaceid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "createdtime", "columnName": "createdtime", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "updatedtime", "columnName": "updatedtime", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "subject", "columnName": "subject", "affinity": "TEXT", "notNull": false }, { "fieldPath": "comment", "columnName": "comment", "affinity": "TEXT", "notNull": false }, { "fieldPath": "isactive", "columnName": "isactive", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "parentcommentid", "columnName": "parentcommentid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "entitytypeid", "columnName": "entitytypeid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "updatedbyid", "columnName": "updatedbyid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "createdbyid", "columnName": "createdbyid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "commentid", "columnName": "commentid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "entityid", "columnName": "entityid", "affinity": "INTEGER", "notNull": false } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "shortname" ] }, "indices": [], "foreignKeys": [] }, { "tableName": "citype", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`shortname` TEXT NOT NULL, `id_numeric` INTEGER NOT NULL, `createdbyid` INTEGER, `createdtime` INTEGER, `updatedbyid` INTEGER, `updatedtime` INTEGER, `displayname` TEXT NOT NULL, `is_active` INTEGER NOT NULL, `level` TEXT, `parent_citype` INTEGER, `tablename` TEXT, `row_order` INTEGER, PRIMARY KEY(`shortname`))", "fields": [ { "fieldPath": "id", "columnName": "shortname", "affinity": "TEXT", "notNull": true }, { "fieldPath": "idNumeric", "columnName": "id_numeric", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "createdBy", "columnName": "createdbyid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "createdTime", "columnName": "createdtime", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "updatedBy", "columnName": "updatedbyid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "updatedtime", "columnName": "updatedtime", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "displayname", "columnName": "displayname", "affinity": "TEXT", "notNull": true }, { "fieldPath": "isActive", "columnName": "is_active", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "level", "columnName": "level", "affinity": "TEXT", "notNull": false }, { "fieldPath": "parentCiType", "columnName": "parent_citype", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "tableName", "columnName": "tablename", "affinity": "TEXT", "notNull": false }, { "fieldPath": "rowOrder", "columnName": "row_order", "affinity": "INTEGER", "notNull": false } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "shortname" ] }, "indices": [], "foreignKeys": [] }, { "tableName": "ciparam", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`norm` REAL, `updatedbyid` INTEGER, `unit_of_measure` INTEGER, `sortorder` INTEGER, `paramname` TEXT, `param_order` INTEGER, `healthindicator` TEXT, `value` TEXT, `description` TEXT, `param_type` TEXT, `value_format` INTEGER, `displayname` TEXT NOT NULL, `skipvisualization` INTEGER, `createdtime` INTEGER, `createdbyid` INTEGER, `maximumnorm` REAL, `shortname` TEXT, `unitofmeasure` INTEGER, `citype_shortname` TEXT, `healthicon` TEXT, `incident` INTEGER, `ciparam` INTEGER, `isactive` INTEGER, `service_level` INTEGER, `citype` INTEGER, `pa_id_link` INTEGER, `ci` INTEGER, `updatedtime` INTEGER, `minimumnorm` REAL, `ciparamid` INTEGER, `filtr_priz` INTEGER, PRIMARY KEY(`ciparamid`))", "fields": [ { "fieldPath": "norm", "columnName": "norm", "affinity": "REAL", "notNull": false }, { "fieldPath": "updatedbyid", "columnName": "updatedbyid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "unitOfMeasure", "columnName": "unit_of_measure", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "sortorder", "columnName": "sortorder", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "paramname", "columnName": "paramname", "affinity": "TEXT", "notNull": false }, { "fieldPath": "paramOrder", "columnName": "param_order", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "healthindicator", "columnName": "healthindicator", "affinity": "TEXT", "notNull": false }, { "fieldPath": "value", "columnName": "value", "affinity": "TEXT", "notNull": false }, { "fieldPath": "description", "columnName": "description", "affinity": "TEXT", "notNull": false }, { "fieldPath": "paramType", "columnName": "param_type", "affinity": "TEXT", "notNull": false }, { "fieldPath": "valueFormat", "columnName": "value_format", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "displayname", "columnName": "displayname", "affinity": "TEXT", "notNull": true }, { "fieldPath": "skipvisualization", "columnName": "skipvisualization", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "createdtime", "columnName": "createdtime", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "createdbyid", "columnName": "createdbyid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "maximumnorm", "columnName": "maximumnorm", "affinity": "REAL", "notNull": false }, { "fieldPath": "shortname", "columnName": "shortname", "affinity": "TEXT", "notNull": false }, { "fieldPath": "unitofmeasure", "columnName": "unitofmeasure", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "citypeShortname", "columnName": "citype_shortname", "affinity": "TEXT", "notNull": false }, { "fieldPath": "healthicon", "columnName": "healthicon", "affinity": "TEXT", "notNull": false }, { "fieldPath": "incident", "columnName": "incident", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "ciparam", "columnName": "ciparam", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "isactive", "columnName": "isactive", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "serviceLevel", "columnName": "service_level", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "citype", "columnName": "citype", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "paIdLink", "columnName": "pa_id_link", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "ci", "columnName": "ci", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "updatedtime", "columnName": "updatedtime", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "minimumnorm", "columnName": "minimumnorm", "affinity": "REAL", "notNull": false }, { "fieldPath": "ciparamid", "columnName": "ciparamid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "filtrPriz", "columnName": "filtr_priz", "affinity": "INTEGER", "notNull": false } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "ciparamid" ] }, "indices": [], "foreignKeys": [] }, { "tableName": "citypeparams", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`createdtime` INTEGER, `displayname` TEXT NOT NULL, `defaultvalue` TEXT, `fieldtype` TEXT, `shortname` TEXT, `ciparamsid` INTEGER, `calculation` TEXT, `citype` INTEGER, `sortorder` INTEGER, `calculationtype` TEXT, `param_type` TEXT, `isactive` INTEGER, `updatedbyid` INTEGER, `unitofmeasure` INTEGER, `normlistid` INTEGER, `value` TEXT, `updatedtime` INTEGER, `value_format` INTEGER, `createdbyid` INTEGER, `paramname` TEXT, `skipvisualization` INTEGER, PRIMARY KEY(`ciparamsid`))", "fields": [ { "fieldPath": "createdtime", "columnName": "createdtime", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "displayname", "columnName": "displayname", "affinity": "TEXT", "notNull": true }, { "fieldPath": "defaultvalue", "columnName": "defaultvalue", "affinity": "TEXT", "notNull": false }, { "fieldPath": "fieldtype", "columnName": "fieldtype", "affinity": "TEXT", "notNull": false }, { "fieldPath": "shortname", "columnName": "shortname", "affinity": "TEXT", "notNull": false }, { "fieldPath": "ciparamsid", "columnName": "ciparamsid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "calculation", "columnName": "calculation", "affinity": "TEXT", "notNull": false }, { "fieldPath": "citype", "columnName": "citype", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "sortorder", "columnName": "sortorder", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "calculationtype", "columnName": "calculationtype", "affinity": "TEXT", "notNull": false }, { "fieldPath": "paramType", "columnName": "param_type", "affinity": "TEXT", "notNull": false }, { "fieldPath": "isactive", "columnName": "isactive", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "updatedbyid", "columnName": "updatedbyid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "unitofmeasure", "columnName": "unitofmeasure", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "normlistid", "columnName": "normlistid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "value", "columnName": "value", "affinity": "TEXT", "notNull": false }, { "fieldPath": "updatedtime", "columnName": "updatedtime", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "valueFormat", "columnName": "value_format", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "createdbyid", "columnName": "createdbyid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "paramname", "columnName": "paramname", "affinity": "TEXT", "notNull": false }, { "fieldPath": "skipvisualization", "columnName": "skipvisualization", "affinity": "INTEGER", "notNull": false } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "ciparamsid" ] }, "indices": [], "foreignKeys": [] }, { "tableName": "pa_works", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`factstarttime` INTEGER, `activity_normid` INTEGER, `workflowstepid` INTEGER, `deadline_fixed` INTEGER, `workflowid` INTEGER, `workflowstepname` TEXT, `prioritet_new` INTEGER, `updatedbyid` INTEGER, `factendtime` INTEGER, `incidentid` INTEGER, `shortname` TEXT NOT NULL, `fact_chel_chas_sum` REAL, `pa_worksid` INTEGER, `activity_shid_string` TEXT, `podrid` INTEGER, `displayname` TEXT NOT NULL, `templateid` INTEGER, `displayname_static` TEXT, `dorid` INTEGER, `priority` INTEGER, `pa_works_persons_for_list_view` TEXT, `plannedlaborintensity` REAL, `createdtime` INTEGER, `deadline` INTEGER, `updatedtime` INTEGER, `plannedstarttime` INTEGER, `createdbyid` INTEGER, `on_mrm` INTEGER, `obj_osn_infid` INTEGER, `predid` INTEGER, `discription_work` TEXT, PRIMARY KEY(`pa_worksid`))", "fields": [ { "fieldPath": "factstarttime", "columnName": "factstarttime", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "activityNormid", "columnName": "activity_normid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "workflowstepid", "columnName": "workflowstepid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "deadlineFixed", "columnName": "deadline_fixed", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "workflowid", "columnName": "workflowid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "workflowstepname", "columnName": "workflowstepname", "affinity": "TEXT", "notNull": false }, { "fieldPath": "prioritetNew", "columnName": "prioritet_new", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "updatedbyid", "columnName": "updatedbyid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "factendtime", "columnName": "factendtime", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "incidentid", "columnName": "incidentid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "shortname", "columnName": "shortname", "affinity": "TEXT", "notNull": true }, { "fieldPath": "factChelChasSum", "columnName": "fact_chel_chas_sum", "affinity": "REAL", "notNull": false }, { "fieldPath": "paWorksid", "columnName": "pa_worksid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "activityShidString", "columnName": "activity_shid_string", "affinity": "TEXT", "notNull": false }, { "fieldPath": "podrid", "columnName": "podrid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "displayname", "columnName": "displayname", "affinity": "TEXT", "notNull": true }, { "fieldPath": "templateid", "columnName": "templateid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "displaynameStatic", "columnName": "displayname_static", "affinity": "TEXT", "notNull": false }, { "fieldPath": "dorid", "columnName": "dorid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "priority", "columnName": "priority", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "paWorksPersonsForListView", "columnName": "pa_works_persons_for_list_view", "affinity": "TEXT", "notNull": false }, { "fieldPath": "plannedlaborintensity", "columnName": "plannedlaborintensity", "affinity": "REAL", "notNull": false }, { "fieldPath": "createdtime", "columnName": "createdtime", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "deadline", "columnName": "deadline", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "updatedtime", "columnName": "updatedtime", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "plannedstarttime", "columnName": "plannedstarttime", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "createdbyid", "columnName": "createdbyid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "onMrm", "columnName": "on_mrm", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "objOsnInfid", "columnName": "obj_osn_infid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "predid", "columnName": "predid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "discriptionWork", "columnName": "discription_work", "affinity": "TEXT", "notNull": false } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "pa_worksid" ] }, "indices": [], "foreignKeys": [] }, { "tableName": "plannedactivity", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`description` TEXT, `confirm_done_work` TEXT, `trns_required` INTEGER, `priority` INTEGER, `activity_shid` INTEGER, `ciid` INTEGER, `obj_infid` INTEGER, `workflowstepid` INTEGER, `podrid` INTEGER, `plannedendtime` INTEGER, `templateid` INTEGER, `workflowid` INTEGER, `workflowstepname` TEXT, `pa_worksid` INTEGER, `mat_used` INTEGER, `mat_required` INTEGER, `mat_approved` INTEGER, `createdbyid` INTEGER, `activity_normid` INTEGER, `obor_szbid_name` TEXT, `off_required` INTEGER, `plannedduration` REAL, `displayname` TEXT NOT NULL, `deadline_fixed` INTEGER, `predid` INTEGER, `trns_approved` INTEGER, `plannedlaborintensity` REAL, `factstarttime` INTEGER, `citypeid` INTEGER, `wnd_required` INTEGER, `factlaborintensity` REAL, `shortname` TEXT NOT NULL, `updatedtime` INTEGER, `plannedstarttime` INTEGER, `factduration` REAL, `factendtime` INTEGER, `obj_osn_infid` INTEGER, `wnd_approved` INTEGER, `obor_szbid` INTEGER, `plannedactivityid` INTEGER, `createdtime` INTEGER, `updatedbyid` INTEGER, `off_approved` INTEGER, PRIMARY KEY(`plannedactivityid`))", "fields": [ { "fieldPath": "description", "columnName": "description", "affinity": "TEXT", "notNull": false }, { "fieldPath": "confirmDoneWork", "columnName": "confirm_done_work", "affinity": "TEXT", "notNull": false }, { "fieldPath": "trnsRequired", "columnName": "trns_required", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "priority", "columnName": "priority", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "activityShid", "columnName": "activity_shid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "ciid", "columnName": "ciid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "objInfid", "columnName": "obj_infid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "workflowstepid", "columnName": "workflowstepid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "podrid", "columnName": "podrid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "plannedendtime", "columnName": "plannedendtime", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "templateid", "columnName": "templateid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "workflowid", "columnName": "workflowid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "workflowstepname", "columnName": "workflowstepname", "affinity": "TEXT", "notNull": false }, { "fieldPath": "paWorksid", "columnName": "pa_worksid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "matUsed", "columnName": "mat_used", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "matRequired", "columnName": "mat_required", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "matApproved", "columnName": "mat_approved", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "createdbyid", "columnName": "createdbyid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "activityNormid", "columnName": "activity_normid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "oborSzbidName", "columnName": "obor_szbid_name", "affinity": "TEXT", "notNull": false }, { "fieldPath": "offRequired", "columnName": "off_required", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "plannedduration", "columnName": "plannedduration", "affinity": "REAL", "notNull": false }, { "fieldPath": "displayname", "columnName": "displayname", "affinity": "TEXT", "notNull": true }, { "fieldPath": "deadlineFixed", "columnName": "deadline_fixed", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "predid", "columnName": "predid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "trnsApproved", "columnName": "trns_approved", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "plannedlaborintensity", "columnName": "plannedlaborintensity", "affinity": "REAL", "notNull": false }, { "fieldPath": "factstarttime", "columnName": "factstarttime", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "citypeid", "columnName": "citypeid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "wndRequired", "columnName": "wnd_required", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "factlaborintensity", "columnName": "factlaborintensity", "affinity": "REAL", "notNull": false }, { "fieldPath": "shortname", "columnName": "shortname", "affinity": "TEXT", "notNull": true }, { "fieldPath": "updatedtime", "columnName": "updatedtime", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "plannedstarttime", "columnName": "plannedstarttime", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "factduration", "columnName": "factduration", "affinity": "REAL", "notNull": false }, { "fieldPath": "factendtime", "columnName": "factendtime", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "objOsnInfid", "columnName": "obj_osn_infid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "wndApproved", "columnName": "wnd_approved", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "oborSzbid", "columnName": "obor_szbid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "plannedactivityid", "columnName": "plannedactivityid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "createdtime", "columnName": "createdtime", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "updatedbyid", "columnName": "updatedbyid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "offApproved", "columnName": "off_approved", "affinity": "INTEGER", "notNull": false } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "plannedactivityid" ] }, "indices": [], "foreignKeys": [] }, { "tableName": "planned_activity_params", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`displayname` TEXT NOT NULL, `maximumnorm` REAL, `createdtime` INTEGER, `plannedactivityid` INTEGER, `measureunitid` INTEGER, `isactive` INTEGER, `updatedbyid` INTEGER, `current_type` INTEGER, `citypeparamsid` INTEGER, `minimumnorm` REAL, `updatedtime` INTEGER, `value` REAL, `norm` REAL, `metermethod` INTEGER, `createdbyid` INTEGER, `workflowstepid` INTEGER, `workflowid` INTEGER, `shortname` TEXT NOT NULL, `planned_activity_paramsid` INTEGER, `date_of_measure` INTEGER, `workflowstepname` TEXT, PRIMARY KEY(`planned_activity_paramsid`))", "fields": [ { "fieldPath": "displayname", "columnName": "displayname", "affinity": "TEXT", "notNull": true }, { "fieldPath": "maximumnorm", "columnName": "maximumnorm", "affinity": "REAL", "notNull": false }, { "fieldPath": "createdtime", "columnName": "createdtime", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "plannedactivityid", "columnName": "plannedactivityid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "measureunitid", "columnName": "measureunitid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "isactive", "columnName": "isactive", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "updatedbyid", "columnName": "updatedbyid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "currentType", "columnName": "current_type", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "citypeparamsid", "columnName": "citypeparamsid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "minimumnorm", "columnName": "minimumnorm", "affinity": "REAL", "notNull": false }, { "fieldPath": "updatedtime", "columnName": "updatedtime", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "value", "columnName": "value", "affinity": "REAL", "notNull": false }, { "fieldPath": "norm", "columnName": "norm", "affinity": "REAL", "notNull": false }, { "fieldPath": "metermethod", "columnName": "metermethod", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "createdbyid", "columnName": "createdbyid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "workflowstepid", "columnName": "workflowstepid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "workflowid", "columnName": "workflowid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "shortname", "columnName": "shortname", "affinity": "TEXT", "notNull": true }, { "fieldPath": "plannedActivityParamsid", "columnName": "planned_activity_paramsid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "dateOfMeasure", "columnName": "date_of_measure", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "workflowstepname", "columnName": "workflowstepname", "affinity": "TEXT", "notNull": false } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "planned_activity_paramsid" ] }, "indices": [], "foreignKeys": [] }, { "tableName": "reference", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`reference_name` TEXT NOT NULL, `refid` INTEGER NOT NULL, `name` TEXT, `sname` TEXT, `shortname` TEXT NOT NULL, `displayname` TEXT NOT NULL, `updatedtime` INTEGER, `payload` TEXT, PRIMARY KEY(`shortname`))", "fields": [ { "fieldPath": "referenceName", "columnName": "reference_name", "affinity": "TEXT", "notNull": true }, { "fieldPath": "refid", "columnName": "refid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "name", "columnName": "name", "affinity": "TEXT", "notNull": false }, { "fieldPath": "sname", "columnName": "sname", "affinity": "TEXT", "notNull": false }, { "fieldPath": "shortname", "columnName": "shortname", "affinity": "TEXT", "notNull": true }, { "fieldPath": "displayname", "columnName": "displayname", "affinity": "TEXT", "notNull": true }, { "fieldPath": "updatedtime", "columnName": "updatedtime", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "payload", "columnName": "payload", "affinity": "TEXT", "notNull": false } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "shortname" ] }, "indices": [], "foreignKeys": [] }, { "tableName": "ipattachment", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`attachmentid` INTEGER, `createdbyid` INTEGER, `createdtime` INTEGER, `displayname` TEXT NOT NULL, `document` INTEGER, `extention` TEXT, `isactive` INTEGER, `ispublic` INTEGER, `shortname` TEXT NOT NULL, `updatedbyid` INTEGER, `updatedtime` INTEGER, `workspaceid` INTEGER, `entityid` INTEGER, `entitytypeid` INTEGER, PRIMARY KEY(`shortname`))", "fields": [ { "fieldPath": "attachmentid", "columnName": "attachmentid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "createdbyid", "columnName": "createdbyid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "createdtime", "columnName": "createdtime", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "displayname", "columnName": "displayname", "affinity": "TEXT", "notNull": true }, { "fieldPath": "document", "columnName": "document", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "extention", "columnName": "extention", "affinity": "TEXT", "notNull": false }, { "fieldPath": "isactive", "columnName": "isactive", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "ispublic", "columnName": "ispublic", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "shortname", "columnName": "shortname", "affinity": "TEXT", "notNull": true }, { "fieldPath": "updatedbyid", "columnName": "updatedbyid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "updatedtime", "columnName": "updatedtime", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "workspaceid", "columnName": "workspaceid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "entityid", "columnName": "entityid", "affinity": "INTEGER", "notNull": false }, { "fieldPath": "entitytypeid", "columnName": "entitytypeid", "affinity": "INTEGER", "notNull": false } ], "primaryKey": { "autoGenerate": false, "columnNames": [ "shortname" ] }, "indices": [], "foreignKeys": [] } ], "views": [], "setupQueries": [ "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)", "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '8961fb4bb5f0a678f95e3c62d77dce93')" ] } }