{ "formatVersion": 1, "database": { "version": 34, "identityHash": "72ab025afa00e92cc6ff9d263170bee1", "entities": [ { "tableName": "NetworkNode", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`nodeId` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `bluetoothMacAddress` TEXT, `ipAddress` TEXT, `wifiDirectMacAddress` TEXT, `deviceWifiDirectName` TEXT, `endpointUrl` TEXT, `lastUpdateTimeStamp` INTEGER NOT NULL, `networkServiceLastUpdated` INTEGER NOT NULL, `nsdServiceName` TEXT, `port` INTEGER NOT NULL, `numFailureCount` INTEGER NOT NULL, `wifiDirectDeviceStatus` INTEGER NOT NULL, `groupSsid` TEXT)", "fields": [ { "fieldPath": "nodeId", "columnName": "nodeId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "bluetoothMacAddress", "columnName": "bluetoothMacAddress", "affinity": "TEXT", "notNull": false }, { "fieldPath": "ipAddress", "columnName": "ipAddress", "affinity": "TEXT", "notNull": false }, { "fieldPath": "wifiDirectMacAddress", "columnName": "wifiDirectMacAddress", "affinity": "TEXT", "notNull": false }, { "fieldPath": "deviceWifiDirectName", "columnName": "deviceWifiDirectName", "affinity": "TEXT", "notNull": false }, { "fieldPath": "endpointUrl", "columnName": "endpointUrl", "affinity": "TEXT", "notNull": false }, { "fieldPath": "lastUpdateTimeStamp", "columnName": "lastUpdateTimeStamp", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "networkServiceLastUpdated", "columnName": "networkServiceLastUpdated", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "nsdServiceName", "columnName": "nsdServiceName", "affinity": "TEXT", "notNull": false }, { "fieldPath": "port", "columnName": "port", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "numFailureCount", "columnName": "numFailureCount", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "wifiDirectDeviceStatus", "columnName": "wifiDirectDeviceStatus", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "groupSsid", "columnName": "groupSsid", "affinity": "TEXT", "notNull": false } ], "primaryKey": { "columnNames": [ "nodeId" ], "autoGenerate": true }, "indices": [ { "name": "index_NetworkNode_bluetoothMacAddress", "unique": false, "columnNames": [ "bluetoothMacAddress" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_NetworkNode_bluetoothMacAddress` ON `${TABLE_NAME}` (`bluetoothMacAddress`)" }, { "name": "index_NetworkNode_lastUpdateTimeStamp", "unique": false, "columnNames": [ "lastUpdateTimeStamp" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_NetworkNode_lastUpdateTimeStamp` ON `${TABLE_NAME}` (`lastUpdateTimeStamp`)" } ], "foreignKeys": [] }, { "tableName": "DownloadJobItemHistory", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `url` TEXT, `networkNode` INTEGER NOT NULL, `downloadJobItemId` INTEGER NOT NULL, `mode` INTEGER NOT NULL, `numBytes` INTEGER NOT NULL, `successful` INTEGER NOT NULL, `startTime` INTEGER NOT NULL, `endTime` INTEGER NOT NULL)", "fields": [ { "fieldPath": "id", "columnName": "id", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "url", "columnName": "url", "affinity": "TEXT", "notNull": false }, { "fieldPath": "networkNode", "columnName": "networkNode", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "downloadJobItemId", "columnName": "downloadJobItemId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "mode", "columnName": "mode", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "numBytes", "columnName": "numBytes", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "successful", "columnName": "successful", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "startTime", "columnName": "startTime", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "endTime", "columnName": "endTime", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "id" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "DownloadJob", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`djUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `djDsUid` INTEGER NOT NULL, `timeCreated` INTEGER NOT NULL, `timeRequested` INTEGER NOT NULL, `timeCompleted` INTEGER NOT NULL, `totalBytesToDownload` INTEGER NOT NULL, `bytesDownloadedSoFar` INTEGER NOT NULL, `djStatus` INTEGER NOT NULL, `meteredNetworkAllowed` INTEGER NOT NULL, `djRootContentEntryUid` INTEGER NOT NULL, `djDestinationDir` TEXT)", "fields": [ { "fieldPath": "djUid", "columnName": "djUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "djDsUid", "columnName": "djDsUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "timeCreated", "columnName": "timeCreated", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "timeRequested", "columnName": "timeRequested", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "timeCompleted", "columnName": "timeCompleted", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "totalBytesToDownload", "columnName": "totalBytesToDownload", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "bytesDownloadedSoFar", "columnName": "bytesDownloadedSoFar", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "djStatus", "columnName": "djStatus", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "meteredNetworkAllowed", "columnName": "meteredNetworkAllowed", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "djRootContentEntryUid", "columnName": "djRootContentEntryUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "djDestinationDir", "columnName": "djDestinationDir", "affinity": "TEXT", "notNull": false } ], "primaryKey": { "columnNames": [ "djUid" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "DownloadJobItem", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`djiUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `djiDsiUid` INTEGER NOT NULL, `djiDjUid` INTEGER NOT NULL, `djiContainerUid` INTEGER NOT NULL, `djiContentEntryUid` INTEGER NOT NULL, `downloadedSoFar` INTEGER NOT NULL, `downloadLength` INTEGER NOT NULL, `currentSpeed` INTEGER NOT NULL, `timeStarted` INTEGER NOT NULL, `timeFinished` INTEGER NOT NULL, `djiStatus` INTEGER NOT NULL, `destinationFile` TEXT, `numAttempts` INTEGER NOT NULL)", "fields": [ { "fieldPath": "djiUid", "columnName": "djiUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "djiDsiUid", "columnName": "djiDsiUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "djiDjUid", "columnName": "djiDjUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "djiContainerUid", "columnName": "djiContainerUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "djiContentEntryUid", "columnName": "djiContentEntryUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "downloadedSoFar", "columnName": "downloadedSoFar", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "downloadLength", "columnName": "downloadLength", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "currentSpeed", "columnName": "currentSpeed", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "timeStarted", "columnName": "timeStarted", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "timeFinished", "columnName": "timeFinished", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "djiStatus", "columnName": "djiStatus", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "destinationFile", "columnName": "destinationFile", "affinity": "TEXT", "notNull": false }, { "fieldPath": "numAttempts", "columnName": "numAttempts", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "djiUid" ], "autoGenerate": true }, "indices": [ { "name": "index_DownloadJobItem_timeStarted", "unique": false, "columnNames": [ "timeStarted" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_DownloadJobItem_timeStarted` ON `${TABLE_NAME}` (`timeStarted`)" }, { "name": "index_DownloadJobItem_djiStatus", "unique": false, "columnNames": [ "djiStatus" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_DownloadJobItem_djiStatus` ON `${TABLE_NAME}` (`djiStatus`)" } ], "foreignKeys": [] }, { "tableName": "DownloadJobItemParentChildJoin", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`djiPcjUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `djiParentDjiUid` INTEGER NOT NULL, `djiChildDjiUid` INTEGER NOT NULL, `djiCepcjUid` INTEGER NOT NULL)", "fields": [ { "fieldPath": "djiPcjUid", "columnName": "djiPcjUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "djiParentDjiUid", "columnName": "djiParentDjiUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "djiChildDjiUid", "columnName": "djiChildDjiUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "djiCepcjUid", "columnName": "djiCepcjUid", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "djiPcjUid" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "Person", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`personUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `username` TEXT, `firstNames` TEXT, `lastName` TEXT, `emailAddr` TEXT, `phoneNum` TEXT, `gender` INTEGER NOT NULL, `active` INTEGER NOT NULL, `admin` INTEGER NOT NULL, `personMasterChangeSeqNum` INTEGER NOT NULL, `personLocalChangeSeqNum` INTEGER NOT NULL, `personLastChangedBy` INTEGER NOT NULL)", "fields": [ { "fieldPath": "personUid", "columnName": "personUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "username", "columnName": "username", "affinity": "TEXT", "notNull": false }, { "fieldPath": "firstNames", "columnName": "firstNames", "affinity": "TEXT", "notNull": false }, { "fieldPath": "lastName", "columnName": "lastName", "affinity": "TEXT", "notNull": false }, { "fieldPath": "emailAddr", "columnName": "emailAddr", "affinity": "TEXT", "notNull": false }, { "fieldPath": "phoneNum", "columnName": "phoneNum", "affinity": "TEXT", "notNull": false }, { "fieldPath": "gender", "columnName": "gender", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "active", "columnName": "active", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "admin", "columnName": "admin", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "personMasterChangeSeqNum", "columnName": "personMasterChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "personLocalChangeSeqNum", "columnName": "personLocalChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "personLastChangedBy", "columnName": "personLastChangedBy", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "personUid" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "Clazz", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`clazzUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `clazzName` TEXT, `attendanceAverage` REAL NOT NULL, `clazzMasterChangeSeqNum` INTEGER NOT NULL, `clazzLocalChangeSeqNum` INTEGER NOT NULL, `clazzLastChangedBy` INTEGER NOT NULL, `clazzLocationUid` INTEGER NOT NULL)", "fields": [ { "fieldPath": "clazzUid", "columnName": "clazzUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clazzName", "columnName": "clazzName", "affinity": "TEXT", "notNull": false }, { "fieldPath": "attendanceAverage", "columnName": "attendanceAverage", "affinity": "REAL", "notNull": true }, { "fieldPath": "clazzMasterChangeSeqNum", "columnName": "clazzMasterChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clazzLocalChangeSeqNum", "columnName": "clazzLocalChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clazzLastChangedBy", "columnName": "clazzLastChangedBy", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clazzLocationUid", "columnName": "clazzLocationUid", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "clazzUid" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "ClazzMember", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`clazzMemberUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `clazzMemberPersonUid` INTEGER NOT NULL, `clazzMemberClazzUid` INTEGER NOT NULL, `dateJoined` INTEGER NOT NULL, `dateLeft` INTEGER NOT NULL, `role` INTEGER NOT NULL, `clazzMemberLocalChangeSeqNum` INTEGER NOT NULL, `clazzMemberMasterChangeSeqNum` INTEGER NOT NULL, `clazzMemberLastChangedBy` INTEGER NOT NULL)", "fields": [ { "fieldPath": "clazzMemberUid", "columnName": "clazzMemberUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clazzMemberPersonUid", "columnName": "clazzMemberPersonUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clazzMemberClazzUid", "columnName": "clazzMemberClazzUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "dateJoined", "columnName": "dateJoined", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "dateLeft", "columnName": "dateLeft", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "role", "columnName": "role", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clazzMemberLocalChangeSeqNum", "columnName": "clazzMemberLocalChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clazzMemberMasterChangeSeqNum", "columnName": "clazzMemberMasterChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clazzMemberLastChangedBy", "columnName": "clazzMemberLastChangedBy", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "clazzMemberUid" ], "autoGenerate": true }, "indices": [ { "name": "index_ClazzMember_clazzMemberPersonUid", "unique": false, "columnNames": [ "clazzMemberPersonUid" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_ClazzMember_clazzMemberPersonUid` ON `${TABLE_NAME}` (`clazzMemberPersonUid`)" }, { "name": "index_ClazzMember_clazzMemberClazzUid", "unique": false, "columnNames": [ "clazzMemberClazzUid" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_ClazzMember_clazzMemberClazzUid` ON `${TABLE_NAME}` (`clazzMemberClazzUid`)" } ], "foreignKeys": [] }, { "tableName": "PersonCustomField", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`personCustomFieldUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `fieldName` TEXT, `labelMessageCode` INTEGER NOT NULL, `fieldIcon` TEXT)", "fields": [ { "fieldPath": "personCustomFieldUid", "columnName": "personCustomFieldUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "fieldName", "columnName": "fieldName", "affinity": "TEXT", "notNull": false }, { "fieldPath": "labelMessageCode", "columnName": "labelMessageCode", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "fieldIcon", "columnName": "fieldIcon", "affinity": "TEXT", "notNull": false } ], "primaryKey": { "columnNames": [ "personCustomFieldUid" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "PersonCustomFieldValue", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`personCustomFieldValueUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `personCustomFieldValuePersonCustomFieldUid` INTEGER NOT NULL, `personCustomFieldValuePersonUid` INTEGER NOT NULL, `fieldValue` TEXT)", "fields": [ { "fieldPath": "personCustomFieldValueUid", "columnName": "personCustomFieldValueUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "personCustomFieldValuePersonCustomFieldUid", "columnName": "personCustomFieldValuePersonCustomFieldUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "personCustomFieldValuePersonUid", "columnName": "personCustomFieldValuePersonUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "fieldValue", "columnName": "fieldValue", "affinity": "TEXT", "notNull": false } ], "primaryKey": { "columnNames": [ "personCustomFieldValueUid" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "ContentEntry", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`contentEntryUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `title` TEXT, `description` TEXT, `entryId` TEXT, `author` TEXT, `publisher` TEXT, `licenseType` INTEGER NOT NULL, `licenseName` TEXT, `licenseUrl` TEXT, `sourceUrl` TEXT, `thumbnailUrl` TEXT, `lastModified` INTEGER NOT NULL, `primaryLanguageUid` INTEGER NOT NULL, `languageVariantUid` INTEGER NOT NULL, `contentFlags` INTEGER NOT NULL, `leaf` INTEGER NOT NULL, `publik` INTEGER NOT NULL, `ceInactive` INTEGER NOT NULL, `contentTypeFlag` INTEGER NOT NULL, `contentEntryLocalChangeSeqNum` INTEGER NOT NULL, `contentEntryMasterChangeSeqNum` INTEGER NOT NULL, `contentEntryLastChangedBy` INTEGER NOT NULL)", "fields": [ { "fieldPath": "contentEntryUid", "columnName": "contentEntryUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "title", "columnName": "title", "affinity": "TEXT", "notNull": false }, { "fieldPath": "description", "columnName": "description", "affinity": "TEXT", "notNull": false }, { "fieldPath": "entryId", "columnName": "entryId", "affinity": "TEXT", "notNull": false }, { "fieldPath": "author", "columnName": "author", "affinity": "TEXT", "notNull": false }, { "fieldPath": "publisher", "columnName": "publisher", "affinity": "TEXT", "notNull": false }, { "fieldPath": "licenseType", "columnName": "licenseType", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "licenseName", "columnName": "licenseName", "affinity": "TEXT", "notNull": false }, { "fieldPath": "licenseUrl", "columnName": "licenseUrl", "affinity": "TEXT", "notNull": false }, { "fieldPath": "sourceUrl", "columnName": "sourceUrl", "affinity": "TEXT", "notNull": false }, { "fieldPath": "thumbnailUrl", "columnName": "thumbnailUrl", "affinity": "TEXT", "notNull": false }, { "fieldPath": "lastModified", "columnName": "lastModified", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "primaryLanguageUid", "columnName": "primaryLanguageUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "languageVariantUid", "columnName": "languageVariantUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "contentFlags", "columnName": "contentFlags", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "leaf", "columnName": "leaf", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "publik", "columnName": "publik", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ceInactive", "columnName": "ceInactive", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "contentTypeFlag", "columnName": "contentTypeFlag", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "contentEntryLocalChangeSeqNum", "columnName": "contentEntryLocalChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "contentEntryMasterChangeSeqNum", "columnName": "contentEntryMasterChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "contentEntryLastChangedBy", "columnName": "contentEntryLastChangedBy", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "contentEntryUid" ], "autoGenerate": true }, "indices": [ { "name": "index_ContentEntry_primaryLanguageUid", "unique": false, "columnNames": [ "primaryLanguageUid" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_ContentEntry_primaryLanguageUid` ON `${TABLE_NAME}` (`primaryLanguageUid`)" } ], "foreignKeys": [] }, { "tableName": "ContentEntryContentCategoryJoin", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`ceccjUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `ceccjContentEntryUid` INTEGER NOT NULL, `ceccjContentCategoryUid` INTEGER NOT NULL, `ceccjLocalChangeSeqNum` INTEGER NOT NULL, `ceccjMasterChangeSeqNum` INTEGER NOT NULL, `ceccjLastChangedBy` INTEGER NOT NULL)", "fields": [ { "fieldPath": "ceccjUid", "columnName": "ceccjUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ceccjContentEntryUid", "columnName": "ceccjContentEntryUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ceccjContentCategoryUid", "columnName": "ceccjContentCategoryUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ceccjLocalChangeSeqNum", "columnName": "ceccjLocalChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ceccjMasterChangeSeqNum", "columnName": "ceccjMasterChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ceccjLastChangedBy", "columnName": "ceccjLastChangedBy", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "ceccjUid" ], "autoGenerate": true }, "indices": [ { "name": "index_ContentEntryContentCategoryJoin_ceccjContentEntryUid", "unique": false, "columnNames": [ "ceccjContentEntryUid" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_ContentEntryContentCategoryJoin_ceccjContentEntryUid` ON `${TABLE_NAME}` (`ceccjContentEntryUid`)" } ], "foreignKeys": [] }, { "tableName": "ContentEntryParentChildJoin", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`cepcjUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `cepcjChildContentEntryUid` INTEGER NOT NULL, `cepcjParentContentEntryUid` INTEGER NOT NULL, `childIndex` INTEGER NOT NULL, `cepcjLocalChangeSeqNum` INTEGER NOT NULL, `cepcjMasterChangeSeqNum` INTEGER NOT NULL, `cepcjLastChangedBy` INTEGER NOT NULL)", "fields": [ { "fieldPath": "cepcjUid", "columnName": "cepcjUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "cepcjChildContentEntryUid", "columnName": "cepcjChildContentEntryUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "cepcjParentContentEntryUid", "columnName": "cepcjParentContentEntryUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "childIndex", "columnName": "childIndex", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "cepcjLocalChangeSeqNum", "columnName": "cepcjLocalChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "cepcjMasterChangeSeqNum", "columnName": "cepcjMasterChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "cepcjLastChangedBy", "columnName": "cepcjLastChangedBy", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "cepcjUid" ], "autoGenerate": true }, "indices": [ { "name": "parent_child", "unique": false, "columnNames": [ "cepcjChildContentEntryUid", "cepcjParentContentEntryUid" ], "createSql": "CREATE INDEX IF NOT EXISTS `parent_child` ON `${TABLE_NAME}` (`cepcjChildContentEntryUid`, `cepcjParentContentEntryUid`)" }, { "name": "index_ContentEntryParentChildJoin_cepcjChildContentEntryUid", "unique": false, "columnNames": [ "cepcjChildContentEntryUid" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_ContentEntryParentChildJoin_cepcjChildContentEntryUid` ON `${TABLE_NAME}` (`cepcjChildContentEntryUid`)" }, { "name": "index_ContentEntryParentChildJoin_cepcjParentContentEntryUid", "unique": false, "columnNames": [ "cepcjParentContentEntryUid" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_ContentEntryParentChildJoin_cepcjParentContentEntryUid` ON `${TABLE_NAME}` (`cepcjParentContentEntryUid`)" } ], "foreignKeys": [] }, { "tableName": "ContentEntryRelatedEntryJoin", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`cerejUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `cerejContentEntryUid` INTEGER NOT NULL, `cerejRelatedEntryUid` INTEGER NOT NULL, `cerejLastChangedBy` INTEGER NOT NULL, `relType` INTEGER NOT NULL, `comment` TEXT, `cerejRelLanguageUid` INTEGER NOT NULL, `cerejLocalChangeSeqNum` INTEGER NOT NULL, `cerejMasterChangeSeqNum` INTEGER NOT NULL)", "fields": [ { "fieldPath": "cerejUid", "columnName": "cerejUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "cerejContentEntryUid", "columnName": "cerejContentEntryUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "cerejRelatedEntryUid", "columnName": "cerejRelatedEntryUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "cerejLastChangedBy", "columnName": "cerejLastChangedBy", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "relType", "columnName": "relType", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "comment", "columnName": "comment", "affinity": "TEXT", "notNull": false }, { "fieldPath": "cerejRelLanguageUid", "columnName": "cerejRelLanguageUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "cerejLocalChangeSeqNum", "columnName": "cerejLocalChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "cerejMasterChangeSeqNum", "columnName": "cerejMasterChangeSeqNum", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "cerejUid" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "ContentCategorySchema", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`contentCategorySchemaUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `schemaName` TEXT, `schemaUrl` TEXT, `contentCategorySchemaLocalChangeSeqNum` INTEGER NOT NULL, `contentCategorySchemaMasterChangeSeqNum` INTEGER NOT NULL, `contentCategorySchemaLastChangedBy` INTEGER NOT NULL)", "fields": [ { "fieldPath": "contentCategorySchemaUid", "columnName": "contentCategorySchemaUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "schemaName", "columnName": "schemaName", "affinity": "TEXT", "notNull": false }, { "fieldPath": "schemaUrl", "columnName": "schemaUrl", "affinity": "TEXT", "notNull": false }, { "fieldPath": "contentCategorySchemaLocalChangeSeqNum", "columnName": "contentCategorySchemaLocalChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "contentCategorySchemaMasterChangeSeqNum", "columnName": "contentCategorySchemaMasterChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "contentCategorySchemaLastChangedBy", "columnName": "contentCategorySchemaLastChangedBy", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "contentCategorySchemaUid" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "ContentCategory", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`contentCategoryUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `ctnCatContentCategorySchemaUid` INTEGER NOT NULL, `name` TEXT, `contentCategoryLocalChangeSeqNum` INTEGER NOT NULL, `contentCategoryMasterChangeSeqNum` INTEGER NOT NULL, `contentCategoryLastChangedBy` INTEGER NOT NULL)", "fields": [ { "fieldPath": "contentCategoryUid", "columnName": "contentCategoryUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ctnCatContentCategorySchemaUid", "columnName": "ctnCatContentCategorySchemaUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "name", "columnName": "name", "affinity": "TEXT", "notNull": false }, { "fieldPath": "contentCategoryLocalChangeSeqNum", "columnName": "contentCategoryLocalChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "contentCategoryMasterChangeSeqNum", "columnName": "contentCategoryMasterChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "contentCategoryLastChangedBy", "columnName": "contentCategoryLastChangedBy", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "contentCategoryUid" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "Language", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`langUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `name` TEXT, `iso_639_1_standard` TEXT, `iso_639_2_standard` TEXT, `iso_639_3_standard` TEXT, `langLocalChangeSeqNum` INTEGER NOT NULL, `langMasterChangeSeqNum` INTEGER NOT NULL, `langLastChangedBy` INTEGER NOT NULL)", "fields": [ { "fieldPath": "langUid", "columnName": "langUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "name", "columnName": "name", "affinity": "TEXT", "notNull": false }, { "fieldPath": "iso_639_1_standard", "columnName": "iso_639_1_standard", "affinity": "TEXT", "notNull": false }, { "fieldPath": "iso_639_2_standard", "columnName": "iso_639_2_standard", "affinity": "TEXT", "notNull": false }, { "fieldPath": "iso_639_3_standard", "columnName": "iso_639_3_standard", "affinity": "TEXT", "notNull": false }, { "fieldPath": "langLocalChangeSeqNum", "columnName": "langLocalChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "langMasterChangeSeqNum", "columnName": "langMasterChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "langLastChangedBy", "columnName": "langLastChangedBy", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "langUid" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "LanguageVariant", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`langVariantUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `langUid` INTEGER NOT NULL, `countryCode` TEXT, `name` TEXT, `langVariantLocalChangeSeqNum` INTEGER NOT NULL, `langVariantMasterChangeSeqNum` INTEGER NOT NULL, `langVariantLastChangedBy` INTEGER NOT NULL)", "fields": [ { "fieldPath": "langVariantUid", "columnName": "langVariantUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "langUid", "columnName": "langUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "countryCode", "columnName": "countryCode", "affinity": "TEXT", "notNull": false }, { "fieldPath": "name", "columnName": "name", "affinity": "TEXT", "notNull": false }, { "fieldPath": "langVariantLocalChangeSeqNum", "columnName": "langVariantLocalChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "langVariantMasterChangeSeqNum", "columnName": "langVariantMasterChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "langVariantLastChangedBy", "columnName": "langVariantLastChangedBy", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "langVariantUid" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "AccessToken", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`token` TEXT NOT NULL, `accessTokenPersonUid` INTEGER NOT NULL, `expires` INTEGER NOT NULL, PRIMARY KEY(`token`))", "fields": [ { "fieldPath": "token", "columnName": "token", "affinity": "TEXT", "notNull": true }, { "fieldPath": "accessTokenPersonUid", "columnName": "accessTokenPersonUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "expires", "columnName": "expires", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "token" ], "autoGenerate": false }, "indices": [], "foreignKeys": [] }, { "tableName": "PersonAuth", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`personAuthUid` INTEGER NOT NULL, `passwordHash` TEXT, PRIMARY KEY(`personAuthUid`))", "fields": [ { "fieldPath": "personAuthUid", "columnName": "personAuthUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "passwordHash", "columnName": "passwordHash", "affinity": "TEXT", "notNull": false } ], "primaryKey": { "columnNames": [ "personAuthUid" ], "autoGenerate": false }, "indices": [], "foreignKeys": [] }, { "tableName": "Role", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`roleUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `roleName` TEXT, `roleMasterCsn` INTEGER NOT NULL, `roleLocalCsn` INTEGER NOT NULL, `roleLastChangedBy` INTEGER NOT NULL, `rolePermissions` INTEGER NOT NULL)", "fields": [ { "fieldPath": "roleUid", "columnName": "roleUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "roleName", "columnName": "roleName", "affinity": "TEXT", "notNull": false }, { "fieldPath": "roleMasterCsn", "columnName": "roleMasterCsn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "roleLocalCsn", "columnName": "roleLocalCsn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "roleLastChangedBy", "columnName": "roleLastChangedBy", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "rolePermissions", "columnName": "rolePermissions", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "roleUid" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "EntityRole", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`erUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `erMasterCsn` INTEGER NOT NULL, `erLocalCsn` INTEGER NOT NULL, `erLastChangedBy` INTEGER NOT NULL, `erTableId` INTEGER NOT NULL, `erEntityUid` INTEGER NOT NULL, `erGroupUid` INTEGER NOT NULL, `erRoleUid` INTEGER NOT NULL)", "fields": [ { "fieldPath": "erUid", "columnName": "erUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "erMasterCsn", "columnName": "erMasterCsn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "erLocalCsn", "columnName": "erLocalCsn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "erLastChangedBy", "columnName": "erLastChangedBy", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "erTableId", "columnName": "erTableId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "erEntityUid", "columnName": "erEntityUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "erGroupUid", "columnName": "erGroupUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "erRoleUid", "columnName": "erRoleUid", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "erUid" ], "autoGenerate": true }, "indices": [ { "name": "index_EntityRole_erTableId", "unique": false, "columnNames": [ "erTableId" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_EntityRole_erTableId` ON `${TABLE_NAME}` (`erTableId`)" }, { "name": "index_EntityRole_erEntityUid", "unique": false, "columnNames": [ "erEntityUid" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_EntityRole_erEntityUid` ON `${TABLE_NAME}` (`erEntityUid`)" }, { "name": "index_EntityRole_erGroupUid", "unique": false, "columnNames": [ "erGroupUid" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_EntityRole_erGroupUid` ON `${TABLE_NAME}` (`erGroupUid`)" }, { "name": "index_EntityRole_erRoleUid", "unique": false, "columnNames": [ "erRoleUid" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_EntityRole_erRoleUid` ON `${TABLE_NAME}` (`erRoleUid`)" } ], "foreignKeys": [] }, { "tableName": "PersonGroup", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`groupUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `groupMasterCsn` INTEGER NOT NULL, `groupLocalCsn` INTEGER NOT NULL, `groupLastChangedBy` INTEGER NOT NULL, `groupName` TEXT, `groupPersonUid` INTEGER NOT NULL)", "fields": [ { "fieldPath": "groupUid", "columnName": "groupUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "groupMasterCsn", "columnName": "groupMasterCsn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "groupLocalCsn", "columnName": "groupLocalCsn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "groupLastChangedBy", "columnName": "groupLastChangedBy", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "groupName", "columnName": "groupName", "affinity": "TEXT", "notNull": false }, { "fieldPath": "groupPersonUid", "columnName": "groupPersonUid", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "groupUid" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "PersonGroupMember", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`groupMemberUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `groupMemberPersonUid` INTEGER NOT NULL, `groupMemberGroupUid` INTEGER NOT NULL, `groupMemberMasterCsn` INTEGER NOT NULL, `groupMemberLocalCsn` INTEGER NOT NULL, `groupMemberLastChangedBy` INTEGER NOT NULL)", "fields": [ { "fieldPath": "groupMemberUid", "columnName": "groupMemberUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "groupMemberPersonUid", "columnName": "groupMemberPersonUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "groupMemberGroupUid", "columnName": "groupMemberGroupUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "groupMemberMasterCsn", "columnName": "groupMemberMasterCsn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "groupMemberLocalCsn", "columnName": "groupMemberLocalCsn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "groupMemberLastChangedBy", "columnName": "groupMemberLastChangedBy", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "groupMemberUid" ], "autoGenerate": true }, "indices": [ { "name": "index_PersonGroupMember_groupMemberPersonUid", "unique": false, "columnNames": [ "groupMemberPersonUid" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_PersonGroupMember_groupMemberPersonUid` ON `${TABLE_NAME}` (`groupMemberPersonUid`)" }, { "name": "index_PersonGroupMember_groupMemberGroupUid", "unique": false, "columnNames": [ "groupMemberGroupUid" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_PersonGroupMember_groupMemberGroupUid` ON `${TABLE_NAME}` (`groupMemberGroupUid`)" } ], "foreignKeys": [] }, { "tableName": "Location", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`locationUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `title` TEXT, `description` TEXT, `lng` TEXT, `lat` TEXT, `parentLocationUid` INTEGER NOT NULL, `locationActive` INTEGER NOT NULL, `locationLocalChangeSeqNum` INTEGER NOT NULL, `locationMasterChangeSeqNum` INTEGER NOT NULL, `locationLastChangedBy` INTEGER NOT NULL)", "fields": [ { "fieldPath": "locationUid", "columnName": "locationUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "title", "columnName": "title", "affinity": "TEXT", "notNull": false }, { "fieldPath": "description", "columnName": "description", "affinity": "TEXT", "notNull": false }, { "fieldPath": "lng", "columnName": "lng", "affinity": "TEXT", "notNull": false }, { "fieldPath": "lat", "columnName": "lat", "affinity": "TEXT", "notNull": false }, { "fieldPath": "parentLocationUid", "columnName": "parentLocationUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "locationActive", "columnName": "locationActive", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "locationLocalChangeSeqNum", "columnName": "locationLocalChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "locationMasterChangeSeqNum", "columnName": "locationMasterChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "locationLastChangedBy", "columnName": "locationLastChangedBy", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "locationUid" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "LocationAncestorJoin", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`locationAncestorId` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `locationAncestorChildLocationUid` INTEGER NOT NULL, `locationAncestorAncestorLocationUid` INTEGER NOT NULL)", "fields": [ { "fieldPath": "locationAncestorId", "columnName": "locationAncestorId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "locationAncestorChildLocationUid", "columnName": "locationAncestorChildLocationUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "locationAncestorAncestorLocationUid", "columnName": "locationAncestorAncestorLocationUid", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "locationAncestorId" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "PersonLocationJoin", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`personLocationUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `personLocationPersonUid` INTEGER NOT NULL, `personLocationLocationUid` INTEGER NOT NULL, `plMasterCsn` INTEGER NOT NULL, `plLocalCsn` INTEGER NOT NULL, `plLastChangedBy` INTEGER NOT NULL)", "fields": [ { "fieldPath": "personLocationUid", "columnName": "personLocationUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "personLocationPersonUid", "columnName": "personLocationPersonUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "personLocationLocationUid", "columnName": "personLocationLocationUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "plMasterCsn", "columnName": "plMasterCsn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "plLocalCsn", "columnName": "plLocalCsn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "plLastChangedBy", "columnName": "plLastChangedBy", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "personLocationUid" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "PersonPicture", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`personPictureUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `personPicturePersonUid` INTEGER NOT NULL, `personPictureMasterCsn` INTEGER NOT NULL, `personPictureLocalCsn` INTEGER NOT NULL, `personPictureLastChangedBy` INTEGER NOT NULL, `fileSize` INTEGER NOT NULL, `picTimestamp` INTEGER NOT NULL, `mimeType` TEXT)", "fields": [ { "fieldPath": "personPictureUid", "columnName": "personPictureUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "personPicturePersonUid", "columnName": "personPicturePersonUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "personPictureMasterCsn", "columnName": "personPictureMasterCsn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "personPictureLocalCsn", "columnName": "personPictureLocalCsn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "personPictureLastChangedBy", "columnName": "personPictureLastChangedBy", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "fileSize", "columnName": "fileSize", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "picTimestamp", "columnName": "picTimestamp", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "mimeType", "columnName": "mimeType", "affinity": "TEXT", "notNull": false } ], "primaryKey": { "columnNames": [ "personPictureUid" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "ScrapeQueueItem", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`sqiUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `sqiContentEntryParentUid` INTEGER NOT NULL, `destDir` TEXT, `scrapeUrl` TEXT, `status` INTEGER NOT NULL, `runId` INTEGER NOT NULL, `itemType` INTEGER NOT NULL, `errorCode` INTEGER NOT NULL, `contentType` TEXT, `timeAdded` INTEGER NOT NULL, `timeStarted` INTEGER NOT NULL, `timeFinished` INTEGER NOT NULL, `priority` INTEGER NOT NULL)", "fields": [ { "fieldPath": "sqiUid", "columnName": "sqiUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "sqiContentEntryParentUid", "columnName": "sqiContentEntryParentUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "destDir", "columnName": "destDir", "affinity": "TEXT", "notNull": false }, { "fieldPath": "scrapeUrl", "columnName": "scrapeUrl", "affinity": "TEXT", "notNull": false }, { "fieldPath": "status", "columnName": "status", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "runId", "columnName": "runId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "itemType", "columnName": "itemType", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "errorCode", "columnName": "errorCode", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "contentType", "columnName": "contentType", "affinity": "TEXT", "notNull": false }, { "fieldPath": "timeAdded", "columnName": "timeAdded", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "timeStarted", "columnName": "timeStarted", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "timeFinished", "columnName": "timeFinished", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "priority", "columnName": "priority", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "sqiUid" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "ScrapeRun", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`scrapeRunUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `scrapeType` TEXT, `status` INTEGER NOT NULL)", "fields": [ { "fieldPath": "scrapeRunUid", "columnName": "scrapeRunUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "scrapeType", "columnName": "scrapeType", "affinity": "TEXT", "notNull": false }, { "fieldPath": "status", "columnName": "status", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "scrapeRunUid" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "ContentEntryStatus", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`cesUid` INTEGER NOT NULL, `totalSize` INTEGER NOT NULL, `bytesDownloadSoFar` INTEGER NOT NULL, `downloadStatus` INTEGER NOT NULL, `locallyAvailable` INTEGER NOT NULL, `downloadSpeed` INTEGER NOT NULL, `invalidated` INTEGER NOT NULL, `cesLeaf` INTEGER NOT NULL, PRIMARY KEY(`cesUid`))", "fields": [ { "fieldPath": "cesUid", "columnName": "cesUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "totalSize", "columnName": "totalSize", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "bytesDownloadSoFar", "columnName": "bytesDownloadSoFar", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "downloadStatus", "columnName": "downloadStatus", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "locallyAvailable", "columnName": "locallyAvailable", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "downloadSpeed", "columnName": "downloadSpeed", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "invalidated", "columnName": "invalidated", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "cesLeaf", "columnName": "cesLeaf", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "cesUid" ], "autoGenerate": false }, "indices": [], "foreignKeys": [] }, { "tableName": "ConnectivityStatus", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`csUid` INTEGER NOT NULL, `connectivityState` INTEGER NOT NULL, `wifiSsid` TEXT, `connectedOrConnecting` INTEGER NOT NULL, PRIMARY KEY(`csUid`))", "fields": [ { "fieldPath": "csUid", "columnName": "csUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "connectivityState", "columnName": "connectivityState", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "wifiSsid", "columnName": "wifiSsid", "affinity": "TEXT", "notNull": false }, { "fieldPath": "connectedOrConnecting", "columnName": "connectedOrConnecting", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "csUid" ], "autoGenerate": false }, "indices": [], "foreignKeys": [] }, { "tableName": "Container", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`containerUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `cntLocalCsn` INTEGER NOT NULL, `cntMasterCsn` INTEGER NOT NULL, `cntLastModBy` INTEGER NOT NULL, `fileSize` INTEGER NOT NULL, `containerContentEntryUid` INTEGER NOT NULL, `cntLastModified` INTEGER NOT NULL, `mimeType` TEXT, `remarks` TEXT, `mobileOptimized` INTEGER NOT NULL, `cntNumEntries` INTEGER NOT NULL)", "fields": [ { "fieldPath": "containerUid", "columnName": "containerUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "cntLocalCsn", "columnName": "cntLocalCsn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "cntMasterCsn", "columnName": "cntMasterCsn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "cntLastModBy", "columnName": "cntLastModBy", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "fileSize", "columnName": "fileSize", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "containerContentEntryUid", "columnName": "containerContentEntryUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "cntLastModified", "columnName": "cntLastModified", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "mimeType", "columnName": "mimeType", "affinity": "TEXT", "notNull": false }, { "fieldPath": "remarks", "columnName": "remarks", "affinity": "TEXT", "notNull": false }, { "fieldPath": "mobileOptimized", "columnName": "mobileOptimized", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "cntNumEntries", "columnName": "cntNumEntries", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "containerUid" ], "autoGenerate": true }, "indices": [ { "name": "cnt_uid_to_most_recent", "unique": false, "columnNames": [ "containerContentEntryUid", "cntLastModified" ], "createSql": "CREATE INDEX IF NOT EXISTS `cnt_uid_to_most_recent` ON `${TABLE_NAME}` (`containerContentEntryUid`, `cntLastModified`)" }, { "name": "index_Container_cntLastModified", "unique": false, "columnNames": [ "cntLastModified" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_Container_cntLastModified` ON `${TABLE_NAME}` (`cntLastModified`)" } ], "foreignKeys": [] }, { "tableName": "ContainerEntry", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`ceUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `ceContainerUid` INTEGER NOT NULL, `cePath` TEXT, `ceCefUid` INTEGER NOT NULL)", "fields": [ { "fieldPath": "ceUid", "columnName": "ceUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ceContainerUid", "columnName": "ceContainerUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "cePath", "columnName": "cePath", "affinity": "TEXT", "notNull": false }, { "fieldPath": "ceCefUid", "columnName": "ceCefUid", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "ceUid" ], "autoGenerate": true }, "indices": [ { "name": "index_ContainerEntry_ceContainerUid", "unique": false, "columnNames": [ "ceContainerUid" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_ContainerEntry_ceContainerUid` ON `${TABLE_NAME}` (`ceContainerUid`)" } ], "foreignKeys": [] }, { "tableName": "ContainerEntryFile", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`cefUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `cefMd5` TEXT, `cefPath` TEXT, `ceTotalSize` INTEGER NOT NULL, `ceCompressedSize` INTEGER NOT NULL, `compression` INTEGER NOT NULL, `lastModified` INTEGER NOT NULL)", "fields": [ { "fieldPath": "cefUid", "columnName": "cefUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "cefMd5", "columnName": "cefMd5", "affinity": "TEXT", "notNull": false }, { "fieldPath": "cefPath", "columnName": "cefPath", "affinity": "TEXT", "notNull": false }, { "fieldPath": "ceTotalSize", "columnName": "ceTotalSize", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ceCompressedSize", "columnName": "ceCompressedSize", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "compression", "columnName": "compression", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "lastModified", "columnName": "lastModified", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "cefUid" ], "autoGenerate": true }, "indices": [ { "name": "index_ContainerEntryFile_cefMd5", "unique": false, "columnNames": [ "cefMd5" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_ContainerEntryFile_cefMd5` ON `${TABLE_NAME}` (`cefMd5`)" } ], "foreignKeys": [] }, { "tableName": "VerbEntity", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`verbUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `urlId` TEXT, `verbMasterChangeSeqNum` INTEGER NOT NULL, `verbLocalChangeSeqNum` INTEGER NOT NULL, `verbLastChangedBy` INTEGER NOT NULL)", "fields": [ { "fieldPath": "verbUid", "columnName": "verbUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "urlId", "columnName": "urlId", "affinity": "TEXT", "notNull": false }, { "fieldPath": "verbMasterChangeSeqNum", "columnName": "verbMasterChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "verbLocalChangeSeqNum", "columnName": "verbLocalChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "verbLastChangedBy", "columnName": "verbLastChangedBy", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "verbUid" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "XObjectEntity", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`xObjectUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `objectType` TEXT, `objectId` TEXT, `definitionType` TEXT, `interactionType` TEXT, `correctResponsePattern` TEXT, `objectContentEntryUid` INTEGER NOT NULL, `xObjectMasterChangeSeqNum` INTEGER NOT NULL, `xObjectocalChangeSeqNum` INTEGER NOT NULL, `xObjectLastChangedBy` INTEGER NOT NULL)", "fields": [ { "fieldPath": "xObjectUid", "columnName": "xObjectUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "objectType", "columnName": "objectType", "affinity": "TEXT", "notNull": false }, { "fieldPath": "objectId", "columnName": "objectId", "affinity": "TEXT", "notNull": false }, { "fieldPath": "definitionType", "columnName": "definitionType", "affinity": "TEXT", "notNull": false }, { "fieldPath": "interactionType", "columnName": "interactionType", "affinity": "TEXT", "notNull": false }, { "fieldPath": "correctResponsePattern", "columnName": "correctResponsePattern", "affinity": "TEXT", "notNull": false }, { "fieldPath": "objectContentEntryUid", "columnName": "objectContentEntryUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "xObjectMasterChangeSeqNum", "columnName": "xObjectMasterChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "xObjectocalChangeSeqNum", "columnName": "xObjectocalChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "xObjectLastChangedBy", "columnName": "xObjectLastChangedBy", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "xObjectUid" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "StatementEntity", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`statementUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `statementId` TEXT, `personUid` INTEGER NOT NULL, `verbUid` INTEGER NOT NULL, `xObjectUid` INTEGER NOT NULL, `subStatementActorUid` INTEGER NOT NULL, `substatementVerbUid` INTEGER NOT NULL, `subStatementObjectUid` INTEGER NOT NULL, `agentUid` INTEGER NOT NULL, `instructorUid` INTEGER NOT NULL, `authorityUid` INTEGER NOT NULL, `teamUid` INTEGER NOT NULL, `resultCompletion` INTEGER NOT NULL, `resultSuccess` INTEGER NOT NULL, `resultScoreScaled` INTEGER NOT NULL, `resultScoreRaw` INTEGER NOT NULL, `resultScoreMin` INTEGER NOT NULL, `resultScoreMax` INTEGER NOT NULL, `resultDuration` INTEGER NOT NULL, `resultResponse` TEXT, `timestamp` INTEGER NOT NULL, `stored` INTEGER NOT NULL, `contextRegistration` TEXT, `contextPlatform` TEXT, `contextStatementId` TEXT, `fullStatement` TEXT, `statementMasterChangeSeqNum` INTEGER NOT NULL, `statementLocalChangeSeqNum` INTEGER NOT NULL, `statementLastChangedBy` INTEGER NOT NULL)", "fields": [ { "fieldPath": "statementUid", "columnName": "statementUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "statementId", "columnName": "statementId", "affinity": "TEXT", "notNull": false }, { "fieldPath": "personUid", "columnName": "personUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "verbUid", "columnName": "verbUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "xObjectUid", "columnName": "xObjectUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "subStatementActorUid", "columnName": "subStatementActorUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "substatementVerbUid", "columnName": "substatementVerbUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "subStatementObjectUid", "columnName": "subStatementObjectUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "agentUid", "columnName": "agentUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "instructorUid", "columnName": "instructorUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "authorityUid", "columnName": "authorityUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "teamUid", "columnName": "teamUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "resultCompletion", "columnName": "resultCompletion", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "resultSuccess", "columnName": "resultSuccess", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "resultScoreScaled", "columnName": "resultScoreScaled", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "resultScoreRaw", "columnName": "resultScoreRaw", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "resultScoreMin", "columnName": "resultScoreMin", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "resultScoreMax", "columnName": "resultScoreMax", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "resultDuration", "columnName": "resultDuration", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "resultResponse", "columnName": "resultResponse", "affinity": "TEXT", "notNull": false }, { "fieldPath": "timestamp", "columnName": "timestamp", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "stored", "columnName": "stored", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "contextRegistration", "columnName": "contextRegistration", "affinity": "TEXT", "notNull": false }, { "fieldPath": "contextPlatform", "columnName": "contextPlatform", "affinity": "TEXT", "notNull": false }, { "fieldPath": "contextStatementId", "columnName": "contextStatementId", "affinity": "TEXT", "notNull": false }, { "fieldPath": "fullStatement", "columnName": "fullStatement", "affinity": "TEXT", "notNull": false }, { "fieldPath": "statementMasterChangeSeqNum", "columnName": "statementMasterChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "statementLocalChangeSeqNum", "columnName": "statementLocalChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "statementLastChangedBy", "columnName": "statementLastChangedBy", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "statementUid" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "ContextXObjectStatementJoin", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`contextXObjectStatementJoinUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `contextActivityFlag` INTEGER NOT NULL, `contextStatementUid` INTEGER NOT NULL, `contextXObjectUid` INTEGER NOT NULL, `verbMasterChangeSeqNum` INTEGER NOT NULL, `verbLocalChangeSeqNum` INTEGER NOT NULL, `verbLastChangedBy` INTEGER NOT NULL)", "fields": [ { "fieldPath": "contextXObjectStatementJoinUid", "columnName": "contextXObjectStatementJoinUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "contextActivityFlag", "columnName": "contextActivityFlag", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "contextStatementUid", "columnName": "contextStatementUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "contextXObjectUid", "columnName": "contextXObjectUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "verbMasterChangeSeqNum", "columnName": "verbMasterChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "verbLocalChangeSeqNum", "columnName": "verbLocalChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "verbLastChangedBy", "columnName": "verbLastChangedBy", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "contextXObjectStatementJoinUid" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "AgentEntity", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`agentUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `agentMbox` TEXT, `agentMbox_sha1sum` TEXT, `agentOpenid` TEXT, `agentAccountName` TEXT, `agentHomePage` TEXT, `agentPersonUid` INTEGER NOT NULL, `statementMasterChangeSeqNum` INTEGER NOT NULL, `statementLocalChangeSeqNum` INTEGER NOT NULL, `statementLastChangedBy` INTEGER NOT NULL)", "fields": [ { "fieldPath": "agentUid", "columnName": "agentUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "agentMbox", "columnName": "agentMbox", "affinity": "TEXT", "notNull": false }, { "fieldPath": "agentMbox_sha1sum", "columnName": "agentMbox_sha1sum", "affinity": "TEXT", "notNull": false }, { "fieldPath": "agentOpenid", "columnName": "agentOpenid", "affinity": "TEXT", "notNull": false }, { "fieldPath": "agentAccountName", "columnName": "agentAccountName", "affinity": "TEXT", "notNull": false }, { "fieldPath": "agentHomePage", "columnName": "agentHomePage", "affinity": "TEXT", "notNull": false }, { "fieldPath": "agentPersonUid", "columnName": "agentPersonUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "statementMasterChangeSeqNum", "columnName": "statementMasterChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "statementLocalChangeSeqNum", "columnName": "statementLocalChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "statementLastChangedBy", "columnName": "statementLastChangedBy", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "agentUid" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "StateEntity", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`stateUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `stateId` TEXT, `agentUid` INTEGER NOT NULL, `activityId` TEXT, `registration` TEXT, `isIsactive` INTEGER NOT NULL, `timestamp` INTEGER NOT NULL, `stateMasterChangeSeqNum` INTEGER NOT NULL, `stateLocalChangeSeqNum` INTEGER NOT NULL, `stateLastChangedBy` INTEGER NOT NULL)", "fields": [ { "fieldPath": "stateUid", "columnName": "stateUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "stateId", "columnName": "stateId", "affinity": "TEXT", "notNull": false }, { "fieldPath": "agentUid", "columnName": "agentUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "activityId", "columnName": "activityId", "affinity": "TEXT", "notNull": false }, { "fieldPath": "registration", "columnName": "registration", "affinity": "TEXT", "notNull": false }, { "fieldPath": "isIsactive", "columnName": "isIsactive", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "timestamp", "columnName": "timestamp", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "stateMasterChangeSeqNum", "columnName": "stateMasterChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "stateLocalChangeSeqNum", "columnName": "stateLocalChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "stateLastChangedBy", "columnName": "stateLastChangedBy", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "stateUid" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "StateContentEntity", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`stateContentUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `stateContentStateUid` INTEGER NOT NULL, `stateContentKey` TEXT, `stateContentValue` TEXT, `isIsactive` INTEGER NOT NULL, `stateContentMasterChangeSeqNum` INTEGER NOT NULL, `stateContentLocalChangeSeqNum` INTEGER NOT NULL, `stateContentLastChangedBy` INTEGER NOT NULL)", "fields": [ { "fieldPath": "stateContentUid", "columnName": "stateContentUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "stateContentStateUid", "columnName": "stateContentStateUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "stateContentKey", "columnName": "stateContentKey", "affinity": "TEXT", "notNull": false }, { "fieldPath": "stateContentValue", "columnName": "stateContentValue", "affinity": "TEXT", "notNull": false }, { "fieldPath": "isIsactive", "columnName": "isIsactive", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "stateContentMasterChangeSeqNum", "columnName": "stateContentMasterChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "stateContentLocalChangeSeqNum", "columnName": "stateContentLocalChangeSeqNum", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "stateContentLastChangedBy", "columnName": "stateContentLastChangedBy", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "stateContentUid" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "XLangMapEntry", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`statementLangMapUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `verbLangMapUid` INTEGER NOT NULL, `objectLangMapUid` INTEGER NOT NULL, `languageLangMapUid` INTEGER NOT NULL, `languageVariantLangMapUid` INTEGER NOT NULL, `valueLangMap` TEXT NOT NULL, `statementLangMapMasterCsn` INTEGER NOT NULL, `statementLangMapLocalCsn` INTEGER NOT NULL, `statementLangMapLcb` INTEGER NOT NULL)", "fields": [ { "fieldPath": "statementLangMapUid", "columnName": "statementLangMapUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "verbLangMapUid", "columnName": "verbLangMapUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "objectLangMapUid", "columnName": "objectLangMapUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "languageLangMapUid", "columnName": "languageLangMapUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "languageVariantLangMapUid", "columnName": "languageVariantLangMapUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "valueLangMap", "columnName": "valueLangMap", "affinity": "TEXT", "notNull": true }, { "fieldPath": "statementLangMapMasterCsn", "columnName": "statementLangMapMasterCsn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "statementLangMapLocalCsn", "columnName": "statementLangMapLocalCsn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "statementLangMapLcb", "columnName": "statementLangMapLcb", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "statementLangMapUid" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "SyncNode", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`nodeClientId` INTEGER NOT NULL, `master` INTEGER NOT NULL, PRIMARY KEY(`nodeClientId`))", "fields": [ { "fieldPath": "nodeClientId", "columnName": "nodeClientId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "master", "columnName": "master", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "nodeClientId" ], "autoGenerate": false }, "indices": [], "foreignKeys": [] }, { "tableName": "LocallyAvailableContainer", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`laContainerUid` INTEGER NOT NULL, PRIMARY KEY(`laContainerUid`))", "fields": [ { "fieldPath": "laContainerUid", "columnName": "laContainerUid", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "laContainerUid" ], "autoGenerate": false }, "indices": [], "foreignKeys": [] }, { "tableName": "ContainerETag", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`ceContainerUid` INTEGER NOT NULL, `cetag` TEXT, PRIMARY KEY(`ceContainerUid`))", "fields": [ { "fieldPath": "ceContainerUid", "columnName": "ceContainerUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "cetag", "columnName": "cetag", "affinity": "TEXT", "notNull": false } ], "primaryKey": { "columnNames": [ "ceContainerUid" ], "autoGenerate": false }, "indices": [], "foreignKeys": [] }, { "tableName": "SyncResult", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`srUid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `tableId` INTEGER NOT NULL, `status` INTEGER NOT NULL, `localCsn` INTEGER NOT NULL, `remoteCsn` INTEGER NOT NULL, `syncType` INTEGER NOT NULL, `timestamp` INTEGER NOT NULL, `sent` INTEGER NOT NULL, `received` INTEGER NOT NULL)", "fields": [ { "fieldPath": "srUid", "columnName": "srUid", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "tableId", "columnName": "tableId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "status", "columnName": "status", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "localCsn", "columnName": "localCsn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "remoteCsn", "columnName": "remoteCsn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "syncType", "columnName": "syncType", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "timestamp", "columnName": "timestamp", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "sent", "columnName": "sent", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "received", "columnName": "received", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "srUid" ], "autoGenerate": true }, "indices": [], "foreignKeys": [] }, { "tableName": "Person_trk", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pk` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `epk` INTEGER NOT NULL, `clientId` INTEGER NOT NULL, `csn` INTEGER NOT NULL, `rx` INTEGER NOT NULL, `reqId` INTEGER NOT NULL, `ts` INTEGER NOT NULL)", "fields": [ { "fieldPath": "pk", "columnName": "pk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "epk", "columnName": "epk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clientId", "columnName": "clientId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "csn", "columnName": "csn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "rx", "columnName": "rx", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "reqId", "columnName": "reqId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ts", "columnName": "ts", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "pk" ], "autoGenerate": true }, "indices": [ { "name": "index_Person_trk_clientId_epk_rx_csn", "unique": false, "columnNames": [ "clientId", "epk", "rx", "csn" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_Person_trk_clientId_epk_rx_csn` ON `${TABLE_NAME}` (`clientId`, `epk`, `rx`, `csn`)" } ], "foreignKeys": [] }, { "tableName": "Clazz_trk", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pk` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `epk` INTEGER NOT NULL, `clientId` INTEGER NOT NULL, `csn` INTEGER NOT NULL, `rx` INTEGER NOT NULL, `reqId` INTEGER NOT NULL, `ts` INTEGER NOT NULL)", "fields": [ { "fieldPath": "pk", "columnName": "pk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "epk", "columnName": "epk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clientId", "columnName": "clientId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "csn", "columnName": "csn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "rx", "columnName": "rx", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "reqId", "columnName": "reqId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ts", "columnName": "ts", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "pk" ], "autoGenerate": true }, "indices": [ { "name": "index_Clazz_trk_clientId_epk_rx_csn", "unique": false, "columnNames": [ "clientId", "epk", "rx", "csn" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_Clazz_trk_clientId_epk_rx_csn` ON `${TABLE_NAME}` (`clientId`, `epk`, `rx`, `csn`)" } ], "foreignKeys": [] }, { "tableName": "ClazzMember_trk", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pk` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `epk` INTEGER NOT NULL, `clientId` INTEGER NOT NULL, `csn` INTEGER NOT NULL, `rx` INTEGER NOT NULL, `reqId` INTEGER NOT NULL, `ts` INTEGER NOT NULL)", "fields": [ { "fieldPath": "pk", "columnName": "pk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "epk", "columnName": "epk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clientId", "columnName": "clientId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "csn", "columnName": "csn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "rx", "columnName": "rx", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "reqId", "columnName": "reqId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ts", "columnName": "ts", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "pk" ], "autoGenerate": true }, "indices": [ { "name": "index_ClazzMember_trk_clientId_epk_rx_csn", "unique": false, "columnNames": [ "clientId", "epk", "rx", "csn" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_ClazzMember_trk_clientId_epk_rx_csn` ON `${TABLE_NAME}` (`clientId`, `epk`, `rx`, `csn`)" } ], "foreignKeys": [] }, { "tableName": "ContentEntry_trk", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pk` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `epk` INTEGER NOT NULL, `clientId` INTEGER NOT NULL, `csn` INTEGER NOT NULL, `rx` INTEGER NOT NULL, `reqId` INTEGER NOT NULL, `ts` INTEGER NOT NULL)", "fields": [ { "fieldPath": "pk", "columnName": "pk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "epk", "columnName": "epk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clientId", "columnName": "clientId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "csn", "columnName": "csn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "rx", "columnName": "rx", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "reqId", "columnName": "reqId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ts", "columnName": "ts", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "pk" ], "autoGenerate": true }, "indices": [ { "name": "index_ContentEntry_trk_clientId_epk_rx_csn", "unique": false, "columnNames": [ "clientId", "epk", "rx", "csn" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_ContentEntry_trk_clientId_epk_rx_csn` ON `${TABLE_NAME}` (`clientId`, `epk`, `rx`, `csn`)" } ], "foreignKeys": [] }, { "tableName": "ContentEntryContentCategoryJoin_trk", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pk` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `epk` INTEGER NOT NULL, `clientId` INTEGER NOT NULL, `csn` INTEGER NOT NULL, `rx` INTEGER NOT NULL, `reqId` INTEGER NOT NULL, `ts` INTEGER NOT NULL)", "fields": [ { "fieldPath": "pk", "columnName": "pk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "epk", "columnName": "epk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clientId", "columnName": "clientId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "csn", "columnName": "csn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "rx", "columnName": "rx", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "reqId", "columnName": "reqId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ts", "columnName": "ts", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "pk" ], "autoGenerate": true }, "indices": [ { "name": "index_ContentEntryContentCategoryJoin_trk_clientId_epk_rx_csn", "unique": false, "columnNames": [ "clientId", "epk", "rx", "csn" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_ContentEntryContentCategoryJoin_trk_clientId_epk_rx_csn` ON `${TABLE_NAME}` (`clientId`, `epk`, `rx`, `csn`)" } ], "foreignKeys": [] }, { "tableName": "ContentEntryParentChildJoin_trk", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pk` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `epk` INTEGER NOT NULL, `clientId` INTEGER NOT NULL, `csn` INTEGER NOT NULL, `rx` INTEGER NOT NULL, `reqId` INTEGER NOT NULL, `ts` INTEGER NOT NULL)", "fields": [ { "fieldPath": "pk", "columnName": "pk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "epk", "columnName": "epk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clientId", "columnName": "clientId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "csn", "columnName": "csn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "rx", "columnName": "rx", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "reqId", "columnName": "reqId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ts", "columnName": "ts", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "pk" ], "autoGenerate": true }, "indices": [ { "name": "index_ContentEntryParentChildJoin_trk_clientId_epk_rx_csn", "unique": false, "columnNames": [ "clientId", "epk", "rx", "csn" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_ContentEntryParentChildJoin_trk_clientId_epk_rx_csn` ON `${TABLE_NAME}` (`clientId`, `epk`, `rx`, `csn`)" } ], "foreignKeys": [] }, { "tableName": "ContentEntryRelatedEntryJoin_trk", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pk` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `epk` INTEGER NOT NULL, `clientId` INTEGER NOT NULL, `csn` INTEGER NOT NULL, `rx` INTEGER NOT NULL, `reqId` INTEGER NOT NULL, `ts` INTEGER NOT NULL)", "fields": [ { "fieldPath": "pk", "columnName": "pk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "epk", "columnName": "epk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clientId", "columnName": "clientId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "csn", "columnName": "csn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "rx", "columnName": "rx", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "reqId", "columnName": "reqId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ts", "columnName": "ts", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "pk" ], "autoGenerate": true }, "indices": [ { "name": "index_ContentEntryRelatedEntryJoin_trk_clientId_epk_rx_csn", "unique": false, "columnNames": [ "clientId", "epk", "rx", "csn" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_ContentEntryRelatedEntryJoin_trk_clientId_epk_rx_csn` ON `${TABLE_NAME}` (`clientId`, `epk`, `rx`, `csn`)" } ], "foreignKeys": [] }, { "tableName": "ContentCategorySchema_trk", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pk` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `epk` INTEGER NOT NULL, `clientId` INTEGER NOT NULL, `csn` INTEGER NOT NULL, `rx` INTEGER NOT NULL, `reqId` INTEGER NOT NULL, `ts` INTEGER NOT NULL)", "fields": [ { "fieldPath": "pk", "columnName": "pk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "epk", "columnName": "epk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clientId", "columnName": "clientId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "csn", "columnName": "csn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "rx", "columnName": "rx", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "reqId", "columnName": "reqId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ts", "columnName": "ts", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "pk" ], "autoGenerate": true }, "indices": [ { "name": "index_ContentCategorySchema_trk_clientId_epk_rx_csn", "unique": false, "columnNames": [ "clientId", "epk", "rx", "csn" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_ContentCategorySchema_trk_clientId_epk_rx_csn` ON `${TABLE_NAME}` (`clientId`, `epk`, `rx`, `csn`)" } ], "foreignKeys": [] }, { "tableName": "ContentCategory_trk", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pk` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `epk` INTEGER NOT NULL, `clientId` INTEGER NOT NULL, `csn` INTEGER NOT NULL, `rx` INTEGER NOT NULL, `reqId` INTEGER NOT NULL, `ts` INTEGER NOT NULL)", "fields": [ { "fieldPath": "pk", "columnName": "pk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "epk", "columnName": "epk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clientId", "columnName": "clientId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "csn", "columnName": "csn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "rx", "columnName": "rx", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "reqId", "columnName": "reqId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ts", "columnName": "ts", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "pk" ], "autoGenerate": true }, "indices": [ { "name": "index_ContentCategory_trk_clientId_epk_rx_csn", "unique": false, "columnNames": [ "clientId", "epk", "rx", "csn" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_ContentCategory_trk_clientId_epk_rx_csn` ON `${TABLE_NAME}` (`clientId`, `epk`, `rx`, `csn`)" } ], "foreignKeys": [] }, { "tableName": "Language_trk", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pk` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `epk` INTEGER NOT NULL, `clientId` INTEGER NOT NULL, `csn` INTEGER NOT NULL, `rx` INTEGER NOT NULL, `reqId` INTEGER NOT NULL, `ts` INTEGER NOT NULL)", "fields": [ { "fieldPath": "pk", "columnName": "pk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "epk", "columnName": "epk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clientId", "columnName": "clientId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "csn", "columnName": "csn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "rx", "columnName": "rx", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "reqId", "columnName": "reqId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ts", "columnName": "ts", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "pk" ], "autoGenerate": true }, "indices": [ { "name": "index_Language_trk_clientId_epk_rx_csn", "unique": false, "columnNames": [ "clientId", "epk", "rx", "csn" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_Language_trk_clientId_epk_rx_csn` ON `${TABLE_NAME}` (`clientId`, `epk`, `rx`, `csn`)" } ], "foreignKeys": [] }, { "tableName": "LanguageVariant_trk", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pk` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `epk` INTEGER NOT NULL, `clientId` INTEGER NOT NULL, `csn` INTEGER NOT NULL, `rx` INTEGER NOT NULL, `reqId` INTEGER NOT NULL, `ts` INTEGER NOT NULL)", "fields": [ { "fieldPath": "pk", "columnName": "pk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "epk", "columnName": "epk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clientId", "columnName": "clientId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "csn", "columnName": "csn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "rx", "columnName": "rx", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "reqId", "columnName": "reqId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ts", "columnName": "ts", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "pk" ], "autoGenerate": true }, "indices": [ { "name": "index_LanguageVariant_trk_clientId_epk_rx_csn", "unique": false, "columnNames": [ "clientId", "epk", "rx", "csn" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_LanguageVariant_trk_clientId_epk_rx_csn` ON `${TABLE_NAME}` (`clientId`, `epk`, `rx`, `csn`)" } ], "foreignKeys": [] }, { "tableName": "Role_trk", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pk` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `epk` INTEGER NOT NULL, `clientId` INTEGER NOT NULL, `csn` INTEGER NOT NULL, `rx` INTEGER NOT NULL, `reqId` INTEGER NOT NULL, `ts` INTEGER NOT NULL)", "fields": [ { "fieldPath": "pk", "columnName": "pk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "epk", "columnName": "epk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clientId", "columnName": "clientId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "csn", "columnName": "csn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "rx", "columnName": "rx", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "reqId", "columnName": "reqId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ts", "columnName": "ts", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "pk" ], "autoGenerate": true }, "indices": [ { "name": "index_Role_trk_clientId_epk_rx_csn", "unique": false, "columnNames": [ "clientId", "epk", "rx", "csn" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_Role_trk_clientId_epk_rx_csn` ON `${TABLE_NAME}` (`clientId`, `epk`, `rx`, `csn`)" } ], "foreignKeys": [] }, { "tableName": "EntityRole_trk", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pk` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `epk` INTEGER NOT NULL, `clientId` INTEGER NOT NULL, `csn` INTEGER NOT NULL, `rx` INTEGER NOT NULL, `reqId` INTEGER NOT NULL, `ts` INTEGER NOT NULL)", "fields": [ { "fieldPath": "pk", "columnName": "pk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "epk", "columnName": "epk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clientId", "columnName": "clientId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "csn", "columnName": "csn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "rx", "columnName": "rx", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "reqId", "columnName": "reqId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ts", "columnName": "ts", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "pk" ], "autoGenerate": true }, "indices": [ { "name": "index_EntityRole_trk_clientId_epk_rx_csn", "unique": false, "columnNames": [ "clientId", "epk", "rx", "csn" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_EntityRole_trk_clientId_epk_rx_csn` ON `${TABLE_NAME}` (`clientId`, `epk`, `rx`, `csn`)" } ], "foreignKeys": [] }, { "tableName": "PersonGroup_trk", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pk` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `epk` INTEGER NOT NULL, `clientId` INTEGER NOT NULL, `csn` INTEGER NOT NULL, `rx` INTEGER NOT NULL, `reqId` INTEGER NOT NULL, `ts` INTEGER NOT NULL)", "fields": [ { "fieldPath": "pk", "columnName": "pk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "epk", "columnName": "epk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clientId", "columnName": "clientId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "csn", "columnName": "csn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "rx", "columnName": "rx", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "reqId", "columnName": "reqId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ts", "columnName": "ts", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "pk" ], "autoGenerate": true }, "indices": [ { "name": "index_PersonGroup_trk_clientId_epk_rx_csn", "unique": false, "columnNames": [ "clientId", "epk", "rx", "csn" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_PersonGroup_trk_clientId_epk_rx_csn` ON `${TABLE_NAME}` (`clientId`, `epk`, `rx`, `csn`)" } ], "foreignKeys": [] }, { "tableName": "PersonGroupMember_trk", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pk` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `epk` INTEGER NOT NULL, `clientId` INTEGER NOT NULL, `csn` INTEGER NOT NULL, `rx` INTEGER NOT NULL, `reqId` INTEGER NOT NULL, `ts` INTEGER NOT NULL)", "fields": [ { "fieldPath": "pk", "columnName": "pk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "epk", "columnName": "epk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clientId", "columnName": "clientId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "csn", "columnName": "csn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "rx", "columnName": "rx", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "reqId", "columnName": "reqId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ts", "columnName": "ts", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "pk" ], "autoGenerate": true }, "indices": [ { "name": "index_PersonGroupMember_trk_clientId_epk_rx_csn", "unique": false, "columnNames": [ "clientId", "epk", "rx", "csn" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_PersonGroupMember_trk_clientId_epk_rx_csn` ON `${TABLE_NAME}` (`clientId`, `epk`, `rx`, `csn`)" } ], "foreignKeys": [] }, { "tableName": "Location_trk", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pk` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `epk` INTEGER NOT NULL, `clientId` INTEGER NOT NULL, `csn` INTEGER NOT NULL, `rx` INTEGER NOT NULL, `reqId` INTEGER NOT NULL, `ts` INTEGER NOT NULL)", "fields": [ { "fieldPath": "pk", "columnName": "pk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "epk", "columnName": "epk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clientId", "columnName": "clientId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "csn", "columnName": "csn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "rx", "columnName": "rx", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "reqId", "columnName": "reqId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ts", "columnName": "ts", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "pk" ], "autoGenerate": true }, "indices": [ { "name": "index_Location_trk_clientId_epk_rx_csn", "unique": false, "columnNames": [ "clientId", "epk", "rx", "csn" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_Location_trk_clientId_epk_rx_csn` ON `${TABLE_NAME}` (`clientId`, `epk`, `rx`, `csn`)" } ], "foreignKeys": [] }, { "tableName": "PersonLocationJoin_trk", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pk` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `epk` INTEGER NOT NULL, `clientId` INTEGER NOT NULL, `csn` INTEGER NOT NULL, `rx` INTEGER NOT NULL, `reqId` INTEGER NOT NULL, `ts` INTEGER NOT NULL)", "fields": [ { "fieldPath": "pk", "columnName": "pk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "epk", "columnName": "epk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clientId", "columnName": "clientId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "csn", "columnName": "csn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "rx", "columnName": "rx", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "reqId", "columnName": "reqId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ts", "columnName": "ts", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "pk" ], "autoGenerate": true }, "indices": [ { "name": "index_PersonLocationJoin_trk_clientId_epk_rx_csn", "unique": false, "columnNames": [ "clientId", "epk", "rx", "csn" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_PersonLocationJoin_trk_clientId_epk_rx_csn` ON `${TABLE_NAME}` (`clientId`, `epk`, `rx`, `csn`)" } ], "foreignKeys": [] }, { "tableName": "PersonPicture_trk", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pk` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `epk` INTEGER NOT NULL, `clientId` INTEGER NOT NULL, `csn` INTEGER NOT NULL, `rx` INTEGER NOT NULL, `reqId` INTEGER NOT NULL, `ts` INTEGER NOT NULL)", "fields": [ { "fieldPath": "pk", "columnName": "pk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "epk", "columnName": "epk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clientId", "columnName": "clientId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "csn", "columnName": "csn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "rx", "columnName": "rx", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "reqId", "columnName": "reqId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ts", "columnName": "ts", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "pk" ], "autoGenerate": true }, "indices": [ { "name": "index_PersonPicture_trk_clientId_epk_rx_csn", "unique": false, "columnNames": [ "clientId", "epk", "rx", "csn" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_PersonPicture_trk_clientId_epk_rx_csn` ON `${TABLE_NAME}` (`clientId`, `epk`, `rx`, `csn`)" } ], "foreignKeys": [] }, { "tableName": "Container_trk", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pk` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `epk` INTEGER NOT NULL, `clientId` INTEGER NOT NULL, `csn` INTEGER NOT NULL, `rx` INTEGER NOT NULL, `reqId` INTEGER NOT NULL, `ts` INTEGER NOT NULL)", "fields": [ { "fieldPath": "pk", "columnName": "pk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "epk", "columnName": "epk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clientId", "columnName": "clientId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "csn", "columnName": "csn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "rx", "columnName": "rx", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "reqId", "columnName": "reqId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ts", "columnName": "ts", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "pk" ], "autoGenerate": true }, "indices": [ { "name": "index_Container_trk_clientId_epk_rx_csn", "unique": false, "columnNames": [ "clientId", "epk", "rx", "csn" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_Container_trk_clientId_epk_rx_csn` ON `${TABLE_NAME}` (`clientId`, `epk`, `rx`, `csn`)" } ], "foreignKeys": [] }, { "tableName": "VerbEntity_trk", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pk` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `epk` INTEGER NOT NULL, `clientId` INTEGER NOT NULL, `csn` INTEGER NOT NULL, `rx` INTEGER NOT NULL, `reqId` INTEGER NOT NULL, `ts` INTEGER NOT NULL)", "fields": [ { "fieldPath": "pk", "columnName": "pk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "epk", "columnName": "epk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clientId", "columnName": "clientId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "csn", "columnName": "csn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "rx", "columnName": "rx", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "reqId", "columnName": "reqId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ts", "columnName": "ts", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "pk" ], "autoGenerate": true }, "indices": [ { "name": "index_VerbEntity_trk_clientId_epk_rx_csn", "unique": false, "columnNames": [ "clientId", "epk", "rx", "csn" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_VerbEntity_trk_clientId_epk_rx_csn` ON `${TABLE_NAME}` (`clientId`, `epk`, `rx`, `csn`)" } ], "foreignKeys": [] }, { "tableName": "XObjectEntity_trk", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pk` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `epk` INTEGER NOT NULL, `clientId` INTEGER NOT NULL, `csn` INTEGER NOT NULL, `rx` INTEGER NOT NULL, `reqId` INTEGER NOT NULL, `ts` INTEGER NOT NULL)", "fields": [ { "fieldPath": "pk", "columnName": "pk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "epk", "columnName": "epk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clientId", "columnName": "clientId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "csn", "columnName": "csn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "rx", "columnName": "rx", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "reqId", "columnName": "reqId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ts", "columnName": "ts", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "pk" ], "autoGenerate": true }, "indices": [ { "name": "index_XObjectEntity_trk_clientId_epk_rx_csn", "unique": false, "columnNames": [ "clientId", "epk", "rx", "csn" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_XObjectEntity_trk_clientId_epk_rx_csn` ON `${TABLE_NAME}` (`clientId`, `epk`, `rx`, `csn`)" } ], "foreignKeys": [] }, { "tableName": "StatementEntity_trk", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pk` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `epk` INTEGER NOT NULL, `clientId` INTEGER NOT NULL, `csn` INTEGER NOT NULL, `rx` INTEGER NOT NULL, `reqId` INTEGER NOT NULL, `ts` INTEGER NOT NULL)", "fields": [ { "fieldPath": "pk", "columnName": "pk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "epk", "columnName": "epk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clientId", "columnName": "clientId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "csn", "columnName": "csn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "rx", "columnName": "rx", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "reqId", "columnName": "reqId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ts", "columnName": "ts", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "pk" ], "autoGenerate": true }, "indices": [ { "name": "index_StatementEntity_trk_clientId_epk_rx_csn", "unique": false, "columnNames": [ "clientId", "epk", "rx", "csn" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_StatementEntity_trk_clientId_epk_rx_csn` ON `${TABLE_NAME}` (`clientId`, `epk`, `rx`, `csn`)" } ], "foreignKeys": [] }, { "tableName": "ContextXObjectStatementJoin_trk", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pk` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `epk` INTEGER NOT NULL, `clientId` INTEGER NOT NULL, `csn` INTEGER NOT NULL, `rx` INTEGER NOT NULL, `reqId` INTEGER NOT NULL, `ts` INTEGER NOT NULL)", "fields": [ { "fieldPath": "pk", "columnName": "pk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "epk", "columnName": "epk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clientId", "columnName": "clientId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "csn", "columnName": "csn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "rx", "columnName": "rx", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "reqId", "columnName": "reqId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ts", "columnName": "ts", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "pk" ], "autoGenerate": true }, "indices": [ { "name": "index_ContextXObjectStatementJoin_trk_clientId_epk_rx_csn", "unique": false, "columnNames": [ "clientId", "epk", "rx", "csn" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_ContextXObjectStatementJoin_trk_clientId_epk_rx_csn` ON `${TABLE_NAME}` (`clientId`, `epk`, `rx`, `csn`)" } ], "foreignKeys": [] }, { "tableName": "AgentEntity_trk", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pk` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `epk` INTEGER NOT NULL, `clientId` INTEGER NOT NULL, `csn` INTEGER NOT NULL, `rx` INTEGER NOT NULL, `reqId` INTEGER NOT NULL, `ts` INTEGER NOT NULL)", "fields": [ { "fieldPath": "pk", "columnName": "pk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "epk", "columnName": "epk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clientId", "columnName": "clientId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "csn", "columnName": "csn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "rx", "columnName": "rx", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "reqId", "columnName": "reqId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ts", "columnName": "ts", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "pk" ], "autoGenerate": true }, "indices": [ { "name": "index_AgentEntity_trk_clientId_epk_rx_csn", "unique": false, "columnNames": [ "clientId", "epk", "rx", "csn" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_AgentEntity_trk_clientId_epk_rx_csn` ON `${TABLE_NAME}` (`clientId`, `epk`, `rx`, `csn`)" } ], "foreignKeys": [] }, { "tableName": "StateEntity_trk", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pk` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `epk` INTEGER NOT NULL, `clientId` INTEGER NOT NULL, `csn` INTEGER NOT NULL, `rx` INTEGER NOT NULL, `reqId` INTEGER NOT NULL, `ts` INTEGER NOT NULL)", "fields": [ { "fieldPath": "pk", "columnName": "pk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "epk", "columnName": "epk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clientId", "columnName": "clientId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "csn", "columnName": "csn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "rx", "columnName": "rx", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "reqId", "columnName": "reqId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ts", "columnName": "ts", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "pk" ], "autoGenerate": true }, "indices": [ { "name": "index_StateEntity_trk_clientId_epk_rx_csn", "unique": false, "columnNames": [ "clientId", "epk", "rx", "csn" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_StateEntity_trk_clientId_epk_rx_csn` ON `${TABLE_NAME}` (`clientId`, `epk`, `rx`, `csn`)" } ], "foreignKeys": [] }, { "tableName": "StateContentEntity_trk", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pk` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `epk` INTEGER NOT NULL, `clientId` INTEGER NOT NULL, `csn` INTEGER NOT NULL, `rx` INTEGER NOT NULL, `reqId` INTEGER NOT NULL, `ts` INTEGER NOT NULL)", "fields": [ { "fieldPath": "pk", "columnName": "pk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "epk", "columnName": "epk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clientId", "columnName": "clientId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "csn", "columnName": "csn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "rx", "columnName": "rx", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "reqId", "columnName": "reqId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ts", "columnName": "ts", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "pk" ], "autoGenerate": true }, "indices": [ { "name": "index_StateContentEntity_trk_clientId_epk_rx_csn", "unique": false, "columnNames": [ "clientId", "epk", "rx", "csn" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_StateContentEntity_trk_clientId_epk_rx_csn` ON `${TABLE_NAME}` (`clientId`, `epk`, `rx`, `csn`)" } ], "foreignKeys": [] }, { "tableName": "XLangMapEntry_trk", "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pk` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `epk` INTEGER NOT NULL, `clientId` INTEGER NOT NULL, `csn` INTEGER NOT NULL, `rx` INTEGER NOT NULL, `reqId` INTEGER NOT NULL, `ts` INTEGER NOT NULL)", "fields": [ { "fieldPath": "pk", "columnName": "pk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "epk", "columnName": "epk", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "clientId", "columnName": "clientId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "csn", "columnName": "csn", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "rx", "columnName": "rx", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "reqId", "columnName": "reqId", "affinity": "INTEGER", "notNull": true }, { "fieldPath": "ts", "columnName": "ts", "affinity": "INTEGER", "notNull": true } ], "primaryKey": { "columnNames": [ "pk" ], "autoGenerate": true }, "indices": [ { "name": "index_XLangMapEntry_trk_clientId_epk_rx_csn", "unique": false, "columnNames": [ "clientId", "epk", "rx", "csn" ], "createSql": "CREATE INDEX IF NOT EXISTS `index_XLangMapEntry_trk_clientId_epk_rx_csn` ON `${TABLE_NAME}` (`clientId`, `epk`, `rx`, `csn`)" } ], "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, '72ab025afa00e92cc6ff9d263170bee1')" ] } }