1.json (2259B)
1 { 2 "formatVersion": 1, 3 "database": { 4 "version": 1, 5 "identityHash": "342d0e5d0a0fcde72b88ac4585caf842", 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, 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 "primaryKey": { 61 "columnNames": [ 62 "id" 63 ], 64 "autoGenerate": false 65 }, 66 "indices": [], 67 "foreignKeys": [] 68 } 69 ], 70 "views": [], 71 "setupQueries": [ 72 "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)", 73 "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '342d0e5d0a0fcde72b88ac4585caf842')" 74 ] 75 } 76 }