Home | History | Annotate | Download | only in androidx.room.integration.testapp.migration.MigrationDb
      1 {
      2   "formatVersion": 1,
      3   "database": {
      4     "version": 1,
      5     "identityHash": "2f3557e56d7f665363f3e20d14787a59",
      6     "entities": [
      7       {
      8         "tableName": "Entity1",
      9         "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `name` TEXT, PRIMARY KEY(`id`))",
     10         "fields": [
     11           {
     12             "fieldPath": "id",
     13             "columnName": "id",
     14             "affinity": "INTEGER",
     15             "notNull": true
     16           },
     17           {
     18             "fieldPath": "name",
     19             "columnName": "name",
     20             "affinity": "TEXT",
     21             "notNull": false
     22           }
     23         ],
     24         "primaryKey": {
     25           "columnNames": [
     26             "id"
     27           ],
     28           "autoGenerate": false
     29         },
     30         "indices": []
     31       }
     32     ],
     33     "setupQueries": [
     34       "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
     35       "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, \"2f3557e56d7f665363f3e20d14787a59\")"
     36     ]
     37   }
     38 }