5.json (2425B)
1 { 2 "formatVersion": 1, 3 "database": { 4 "version": 5, 5 "identityHash": "c2874ad2eabcf9bddde0fe50ab27cdcb", 6 "entities": [ 7 { 8 "tableName": "downloads", 9 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` TEXT NOT NULL, `url` TEXT NOT NULL, `file_name` TEXT, `content_type` TEXT, `content_length` INTEGER, `status` INTEGER NOT NULL, `destination_directory` TEXT NOT NULL, `created_at` INTEGER NOT NULL, `etag` TEXT, PRIMARY KEY(`id`))", 10 "fields": [ 11 { 12 "fieldPath": "id", 13 "columnName": "id", 14 "affinity": "TEXT", 15 "notNull": true 16 }, 17 { 18 "fieldPath": "url", 19 "columnName": "url", 20 "affinity": "TEXT", 21 "notNull": true 22 }, 23 { 24 "fieldPath": "fileName", 25 "columnName": "file_name", 26 "affinity": "TEXT", 27 "notNull": false 28 }, 29 { 30 "fieldPath": "contentType", 31 "columnName": "content_type", 32 "affinity": "TEXT", 33 "notNull": false 34 }, 35 { 36 "fieldPath": "contentLength", 37 "columnName": "content_length", 38 "affinity": "INTEGER", 39 "notNull": false 40 }, 41 { 42 "fieldPath": "status", 43 "columnName": "status", 44 "affinity": "INTEGER", 45 "notNull": true 46 }, 47 { 48 "fieldPath": "destinationDirectory", 49 "columnName": "destination_directory", 50 "affinity": "TEXT", 51 "notNull": true 52 }, 53 { 54 "fieldPath": "createdAt", 55 "columnName": "created_at", 56 "affinity": "INTEGER", 57 "notNull": true 58 }, 59 { 60 "fieldPath": "etag", 61 "columnName": "etag", 62 "affinity": "TEXT", 63 "notNull": false 64 } 65 ], 66 "primaryKey": { 67 "autoGenerate": false, 68 "columnNames": [ 69 "id" 70 ] 71 }, 72 "indices": [], 73 "foreignKeys": [] 74 } 75 ], 76 "views": [], 77 "setupQueries": [ 78 "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)", 79 "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'c2874ad2eabcf9bddde0fe50ab27cdcb')" 80 ] 81 } 82 }