1{ 2 "formatVersion": 1, 3 "database": { 4 "version": 2, 5 "identityHash": "c48c7b8c1fd7027e491ac524f5b7f39f", 6 "entities": [ 7 { 8 "tableName": "protected_signals", 9 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT, `buyer` TEXT NOT NULL, `key` BLOB NOT NULL, `value` BLOB NOT NULL, `creationTime` INTEGER NOT NULL, `packageName` TEXT NOT NULL)", 10 "fields": [ 11 { 12 "fieldPath": "id", 13 "columnName": "id", 14 "affinity": "INTEGER", 15 "notNull": false 16 }, 17 { 18 "fieldPath": "buyer", 19 "columnName": "buyer", 20 "affinity": "TEXT", 21 "notNull": true 22 }, 23 { 24 "fieldPath": "key", 25 "columnName": "key", 26 "affinity": "BLOB", 27 "notNull": true 28 }, 29 { 30 "fieldPath": "value", 31 "columnName": "value", 32 "affinity": "BLOB", 33 "notNull": true 34 }, 35 { 36 "fieldPath": "creationTime", 37 "columnName": "creationTime", 38 "affinity": "INTEGER", 39 "notNull": true 40 }, 41 { 42 "fieldPath": "packageName", 43 "columnName": "packageName", 44 "affinity": "TEXT", 45 "notNull": true 46 } 47 ], 48 "primaryKey": { 49 "autoGenerate": true, 50 "columnNames": [ 51 "id" 52 ] 53 }, 54 "indices": [ 55 { 56 "name": "index_protected_signals_buyer", 57 "unique": false, 58 "columnNames": [ 59 "buyer" 60 ], 61 "orders": [], 62 "createSql": "CREATE INDEX IF NOT EXISTS `index_protected_signals_buyer` ON `${TABLE_NAME}` (`buyer`)" 63 } 64 ], 65 "foreignKeys": [] 66 }, 67 { 68 "tableName": "encoder_endpoints", 69 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`buyer` TEXT NOT NULL, `download_uri` TEXT NOT NULL, `creation_time` INTEGER NOT NULL, PRIMARY KEY(`buyer`))", 70 "fields": [ 71 { 72 "fieldPath": "buyer", 73 "columnName": "buyer", 74 "affinity": "TEXT", 75 "notNull": true 76 }, 77 { 78 "fieldPath": "downloadUri", 79 "columnName": "download_uri", 80 "affinity": "TEXT", 81 "notNull": true 82 }, 83 { 84 "fieldPath": "creationTime", 85 "columnName": "creation_time", 86 "affinity": "INTEGER", 87 "notNull": true 88 } 89 ], 90 "primaryKey": { 91 "autoGenerate": false, 92 "columnNames": [ 93 "buyer" 94 ] 95 }, 96 "indices": [ 97 { 98 "name": "index_encoder_endpoints_creation_time", 99 "unique": false, 100 "columnNames": [ 101 "creation_time" 102 ], 103 "orders": [], 104 "createSql": "CREATE INDEX IF NOT EXISTS `index_encoder_endpoints_creation_time` ON `${TABLE_NAME}` (`creation_time`)" 105 } 106 ], 107 "foreignKeys": [] 108 }, 109 { 110 "tableName": "encoder_logics", 111 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`buyer` TEXT NOT NULL, `version` INTEGER NOT NULL, `creation_time` INTEGER NOT NULL, PRIMARY KEY(`buyer`))", 112 "fields": [ 113 { 114 "fieldPath": "buyer", 115 "columnName": "buyer", 116 "affinity": "TEXT", 117 "notNull": true 118 }, 119 { 120 "fieldPath": "version", 121 "columnName": "version", 122 "affinity": "INTEGER", 123 "notNull": true 124 }, 125 { 126 "fieldPath": "creationTime", 127 "columnName": "creation_time", 128 "affinity": "INTEGER", 129 "notNull": true 130 } 131 ], 132 "primaryKey": { 133 "autoGenerate": false, 134 "columnNames": [ 135 "buyer" 136 ] 137 }, 138 "indices": [ 139 { 140 "name": "index_encoder_logics_creation_time", 141 "unique": false, 142 "columnNames": [ 143 "creation_time" 144 ], 145 "orders": [], 146 "createSql": "CREATE INDEX IF NOT EXISTS `index_encoder_logics_creation_time` ON `${TABLE_NAME}` (`creation_time`)" 147 } 148 ], 149 "foreignKeys": [] 150 }, 151 { 152 "tableName": "encoded_payload", 153 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`buyer` TEXT NOT NULL, `version` INTEGER NOT NULL, `creation_time` INTEGER NOT NULL, `encoded_payload` BLOB NOT NULL, PRIMARY KEY(`buyer`))", 154 "fields": [ 155 { 156 "fieldPath": "buyer", 157 "columnName": "buyer", 158 "affinity": "TEXT", 159 "notNull": true 160 }, 161 { 162 "fieldPath": "version", 163 "columnName": "version", 164 "affinity": "INTEGER", 165 "notNull": true 166 }, 167 { 168 "fieldPath": "creationTime", 169 "columnName": "creation_time", 170 "affinity": "INTEGER", 171 "notNull": true 172 }, 173 { 174 "fieldPath": "encodedPayload", 175 "columnName": "encoded_payload", 176 "affinity": "BLOB", 177 "notNull": true 178 } 179 ], 180 "primaryKey": { 181 "autoGenerate": false, 182 "columnNames": [ 183 "buyer" 184 ] 185 }, 186 "indices": [ 187 { 188 "name": "index_encoded_payload_creation_time", 189 "unique": false, 190 "columnNames": [ 191 "creation_time" 192 ], 193 "orders": [], 194 "createSql": "CREATE INDEX IF NOT EXISTS `index_encoded_payload_creation_time` ON `${TABLE_NAME}` (`creation_time`)" 195 } 196 ], 197 "foreignKeys": [] 198 } 199 ], 200 "views": [], 201 "setupQueries": [ 202 "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)", 203 "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'c48c7b8c1fd7027e491ac524f5b7f39f')" 204 ] 205 } 206}