Campus-Capture/campus-capture

View on GitHub
app/schemas/com.github.campus_capture.bootcamp.storage.ZoneDatabase/2.json

Summary

Maintainability
Test Coverage
{
  "formatVersion": 1,
  "database": {
    "version": 2,
    "identityHash": "dc0d3fadf5e5c34120356c68e7e2a3da",
    "entities": [
      {
        "tableName": "Zone",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`uid` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `name` TEXT, `vertices` TEXT)",
        "fields": [
          {
            "fieldPath": "uid",
            "columnName": "uid",
            "affinity": "INTEGER",
            "notNull": true
          },
          {
            "fieldPath": "name",
            "columnName": "name",
            "affinity": "TEXT",
            "notNull": false
          },
          {
            "fieldPath": "vertices",
            "columnName": "vertices",
            "affinity": "TEXT",
            "notNull": false
          }
        ],
        "primaryKey": {
          "autoGenerate": true,
          "columnNames": [
            "uid"
          ]
        },
        "indices": [],
        "foreignKeys": []
      }
    ],
    "views": [],
    "setupQueries": [
      "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
      "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'dc0d3fadf5e5c34120356c68e7e2a3da')"
    ]
  }
}