1{ 2 "formatVersion": 1, 3 "database": { 4 "version": 1, 5 "identityHash": "38f223811a414587ee1b6445ae19385d", 6 "entities": [ 7 { 8 "tableName": "communal_widget_table", 9 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`uid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `widget_id` INTEGER NOT NULL, `component_name` TEXT NOT NULL, `item_id` INTEGER NOT NULL)", 10 "fields": [ 11 { 12 "fieldPath": "uid", 13 "columnName": "uid", 14 "affinity": "INTEGER", 15 "notNull": true 16 }, 17 { 18 "fieldPath": "widgetId", 19 "columnName": "widget_id", 20 "affinity": "INTEGER", 21 "notNull": true 22 }, 23 { 24 "fieldPath": "componentName", 25 "columnName": "component_name", 26 "affinity": "TEXT", 27 "notNull": true 28 }, 29 { 30 "fieldPath": "itemId", 31 "columnName": "item_id", 32 "affinity": "INTEGER", 33 "notNull": true 34 } 35 ], 36 "primaryKey": { 37 "autoGenerate": true, 38 "columnNames": [ 39 "uid" 40 ] 41 }, 42 "indices": [], 43 "foreignKeys": [] 44 }, 45 { 46 "tableName": "communal_item_rank_table", 47 "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`uid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `rank` INTEGER NOT NULL DEFAULT 0)", 48 "fields": [ 49 { 50 "fieldPath": "uid", 51 "columnName": "uid", 52 "affinity": "INTEGER", 53 "notNull": true 54 }, 55 { 56 "fieldPath": "rank", 57 "columnName": "rank", 58 "affinity": "INTEGER", 59 "notNull": true, 60 "defaultValue": "0" 61 } 62 ], 63 "primaryKey": { 64 "autoGenerate": true, 65 "columnNames": [ 66 "uid" 67 ] 68 }, 69 "indices": [], 70 "foreignKeys": [] 71 } 72 ], 73 "views": [], 74 "setupQueries": [ 75 "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)", 76 "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '38f223811a414587ee1b6445ae19385d')" 77 ] 78 } 79}