Repository Public
1{2 "formatVersion": 1,3 "database": {4 "version": 1,5 "identityHash": "185a6fd95db384763bcabf1cf68cdf1f",6 "entities": [7 {8 "tableName": "commands",9 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`commandId` TEXT NOT NULL, `messageId` TEXT NOT NULL, `toNumber` TEXT NOT NULL, `text` TEXT NOT NULL, `subscriptionId` INTEGER NOT NULL, `expiresAt` INTEGER, `deliveryReport` INTEGER NOT NULL, `state` TEXT NOT NULL, `parts` INTEGER NOT NULL, `partsOk` INTEGER NOT NULL, `partsFailed` INTEGER NOT NULL, `partsDelivered` INTEGER NOT NULL, `failCode` TEXT, `failDetail` TEXT, `androidResultCode` INTEGER, `definitive` INTEGER NOT NULL, `unknownReason` TEXT, `createdAt` INTEGER NOT NULL, `updatedAt` INTEGER NOT NULL, `submittingAt` INTEGER, `submittedAt` INTEGER, PRIMARY KEY(`commandId`))",10 "fields": [11 {12 "fieldPath": "commandId",13 "columnName": "commandId",14 "affinity": "TEXT",15 "notNull": true16 },17 {18 "fieldPath": "messageId",19 "columnName": "messageId",20 "affinity": "TEXT",21 "notNull": true22 },23 {24 "fieldPath": "toNumber",25 "columnName": "toNumber",26 "affinity": "TEXT",27 "notNull": true28 },29 {30 "fieldPath": "text",31 "columnName": "text",32 "affinity": "TEXT",33 "notNull": true34 },35 {36 "fieldPath": "subscriptionId",37 "columnName": "subscriptionId",38 "affinity": "INTEGER",39 "notNull": true40 },41 {42 "fieldPath": "expiresAt",43 "columnName": "expiresAt",44 "affinity": "INTEGER"45 },46 {47 "fieldPath": "deliveryReport",48 "columnName": "deliveryReport",49 "affinity": "INTEGER",50 "notNull": true51 },52 {53 "fieldPath": "state",54 "columnName": "state",55 "affinity": "TEXT",56 "notNull": true57 },58 {59 "fieldPath": "parts",60 "columnName": "parts",61 "affinity": "INTEGER",62 "notNull": true63 },64 {65 "fieldPath": "partsOk",66 "columnName": "partsOk",67 "affinity": "INTEGER",68 "notNull": true69 },70 {71 "fieldPath": "partsFailed",72 "columnName": "partsFailed",73 "affinity": "INTEGER",74 "notNull": true75 },76 {77 "fieldPath": "partsDelivered",78 "columnName": "partsDelivered",79 "affinity": "INTEGER",80 "notNull": true81 },82 {83 "fieldPath": "failCode",84 "columnName": "failCode",85 "affinity": "TEXT"86 },87 {88 "fieldPath": "failDetail",89 "columnName": "failDetail",90 "affinity": "TEXT"91 },92 {93 "fieldPath": "androidResultCode",94 "columnName": "androidResultCode",95 "affinity": "INTEGER"96 },97 {98 "fieldPath": "definitive",99 "columnName": "definitive",100 "affinity": "INTEGER",101 "notNull": true102 },103 {104 "fieldPath": "unknownReason",105 "columnName": "unknownReason",106 "affinity": "TEXT"107 },108 {109 "fieldPath": "createdAt",110 "columnName": "createdAt",111 "affinity": "INTEGER",112 "notNull": true113 },114 {115 "fieldPath": "updatedAt",116 "columnName": "updatedAt",117 "affinity": "INTEGER",118 "notNull": true119 },120 {121 "fieldPath": "submittingAt",122 "columnName": "submittingAt",123 "affinity": "INTEGER"124 },125 {126 "fieldPath": "submittedAt",127 "columnName": "submittedAt",128 "affinity": "INTEGER"129 }130 ],131 "primaryKey": {132 "autoGenerate": false,133 "columnNames": [134 "commandId"135 ]136 },137 "indices": [138 {139 "name": "index_commands_state",140 "unique": false,141 "columnNames": [142 "state"143 ],144 "orders": [],145 "createSql": "CREATE INDEX IF NOT EXISTS `index_commands_state` ON `${TABLE_NAME}` (`state`)"146 },147 {148 "name": "index_commands_createdAt",149 "unique": false,150 "columnNames": [151 "createdAt"152 ],153 "orders": [],154 "createSql": "CREATE INDEX IF NOT EXISTS `index_commands_createdAt` ON `${TABLE_NAME}` (`createdAt`)"155 }156 ]157 },158 {159 "tableName": "part_results",160 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`commandId` TEXT NOT NULL, `part` INTEGER NOT NULL, `kind` TEXT NOT NULL, `resultCode` INTEGER NOT NULL, `at` INTEGER NOT NULL, PRIMARY KEY(`commandId`, `part`, `kind`))",161 "fields": [162 {163 "fieldPath": "commandId",164 "columnName": "commandId",165 "affinity": "TEXT",166 "notNull": true167 },168 {169 "fieldPath": "part",170 "columnName": "part",171 "affinity": "INTEGER",172 "notNull": true173 },174 {175 "fieldPath": "kind",176 "columnName": "kind",177 "affinity": "TEXT",178 "notNull": true179 },180 {181 "fieldPath": "resultCode",182 "columnName": "resultCode",183 "affinity": "INTEGER",184 "notNull": true185 },186 {187 "fieldPath": "at",188 "columnName": "at",189 "affinity": "INTEGER",190 "notNull": true191 }192 ],193 "primaryKey": {194 "autoGenerate": false,195 "columnNames": [196 "commandId",197 "part",198 "kind"199 ]200 }201 },202 {203 "tableName": "outbox",204 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`seq` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `eventId` TEXT NOT NULL, `type` TEXT NOT NULL, `ts` TEXT NOT NULL, `data` TEXT NOT NULL, `createdAt` INTEGER NOT NULL)",205 "fields": [206 {207 "fieldPath": "seq",208 "columnName": "seq",209 "affinity": "INTEGER",210 "notNull": true211 },212 {213 "fieldPath": "eventId",214 "columnName": "eventId",215 "affinity": "TEXT",216 "notNull": true217 },218 {219 "fieldPath": "type",220 "columnName": "type",221 "affinity": "TEXT",222 "notNull": true223 },224 {225 "fieldPath": "ts",226 "columnName": "ts",227 "affinity": "TEXT",228 "notNull": true229 },230 {231 "fieldPath": "dataJson",232 "columnName": "data",233 "affinity": "TEXT",234 "notNull": true235 },236 {237 "fieldPath": "createdAt",238 "columnName": "createdAt",239 "affinity": "INTEGER",240 "notNull": true241 }242 ],243 "primaryKey": {244 "autoGenerate": true,245 "columnNames": [246 "seq"247 ]248 },249 "indices": [250 {251 "name": "index_outbox_eventId",252 "unique": true,253 "columnNames": [254 "eventId"255 ],256 "orders": [],257 "createSql": "CREATE UNIQUE INDEX IF NOT EXISTS `index_outbox_eventId` ON `${TABLE_NAME}` (`eventId`)"258 }259 ]260 },261 {262 "tableName": "received",263 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`eventId` TEXT NOT NULL, `fromNumber` TEXT NOT NULL, `text` TEXT NOT NULL, `subscriptionId` INTEGER, `slotIndex` INTEGER, `parts` INTEGER NOT NULL, `receivedAt` INTEGER NOT NULL, PRIMARY KEY(`eventId`))",264 "fields": [265 {266 "fieldPath": "eventId",267 "columnName": "eventId",268 "affinity": "TEXT",269 "notNull": true270 },271 {272 "fieldPath": "fromNumber",273 "columnName": "fromNumber",274 "affinity": "TEXT",275 "notNull": true276 },277 {278 "fieldPath": "text",279 "columnName": "text",280 "affinity": "TEXT",281 "notNull": true282 },283 {284 "fieldPath": "subscriptionId",285 "columnName": "subscriptionId",286 "affinity": "INTEGER"287 },288 {289 "fieldPath": "slotIndex",290 "columnName": "slotIndex",291 "affinity": "INTEGER"292 },293 {294 "fieldPath": "parts",295 "columnName": "parts",296 "affinity": "INTEGER",297 "notNull": true298 },299 {300 "fieldPath": "receivedAt",301 "columnName": "receivedAt",302 "affinity": "INTEGER",303 "notNull": true304 }305 ],306 "primaryKey": {307 "autoGenerate": false,308 "columnNames": [309 "eventId"310 ]311 },312 "indices": [313 {314 "name": "index_received_receivedAt",315 "unique": false,316 "columnNames": [317 "receivedAt"318 ],319 "orders": [],320 "createSql": "CREATE INDEX IF NOT EXISTS `index_received_receivedAt` ON `${TABLE_NAME}` (`receivedAt`)"321 }322 ]323 },324 {325 "tableName": "incidents",326 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `at` INTEGER NOT NULL, `kind` TEXT NOT NULL, `detail` TEXT NOT NULL)",327 "fields": [328 {329 "fieldPath": "id",330 "columnName": "id",331 "affinity": "INTEGER",332 "notNull": true333 },334 {335 "fieldPath": "at",336 "columnName": "at",337 "affinity": "INTEGER",338 "notNull": true339 },340 {341 "fieldPath": "kind",342 "columnName": "kind",343 "affinity": "TEXT",344 "notNull": true345 },346 {347 "fieldPath": "detail",348 "columnName": "detail",349 "affinity": "TEXT",350 "notNull": true351 }352 ],353 "primaryKey": {354 "autoGenerate": true,355 "columnNames": [356 "id"357 ]358 },359 "indices": [360 {361 "name": "index_incidents_at",362 "unique": false,363 "columnNames": [364 "at"365 ],366 "orders": [],367 "createSql": "CREATE INDEX IF NOT EXISTS `index_incidents_at` ON `${TABLE_NAME}` (`at`)"368 }369 ]370 }371 ],372 "setupQueries": [373 "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",374 "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '185a6fd95db384763bcabf1cf68cdf1f')"375 ]376 }377}