Skip to content

armgit / haven

Public Imported from GitHub
0

Haven is for people who need a way to protect their personal spaces and possessions without compromising their own privacy, through an Android app and on-device sensors

2.3 KB
Raw Blame
{
  "formatVersion": 1,
  "database": {
    "version": 4,
    "identityHash": "e6812687ff1f63ddcb6ebbf062ac6267",
    "entities": [
      {
        "tableName": "EVENT",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`ID` INTEGER PRIMARY KEY AUTOINCREMENT, `M_START_TIME` INTEGER)",
        "fields": [
          {
            "fieldPath": "id",
            "columnName": "ID",
            "affinity": "INTEGER",
            "notNull": false
          },
          {
            "fieldPath": "mStartTime",
            "columnName": "M_START_TIME",
            "affinity": "INTEGER",
            "notNull": false
          }
        ],
        "primaryKey": {
          "columnNames": [
            "ID"
          ],
          "autoGenerate": true
        },
        "indices": [],
        "foreignKeys": []
      },
      {
        "tableName": "EVENT_TRIGGER",
        "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`ID` INTEGER PRIMARY KEY AUTOINCREMENT, `M_TYPE` INTEGER, `M_TIME` INTEGER, `M_EVENT_ID` INTEGER, `M_PATH` TEXT)",
        "fields": [
          {
            "fieldPath": "id",
            "columnName": "ID",
            "affinity": "INTEGER",
            "notNull": false
          },
          {
            "fieldPath": "mType",
            "columnName": "M_TYPE",
            "affinity": "INTEGER",
            "notNull": false
          },
          {
            "fieldPath": "mTime",
            "columnName": "M_TIME",
            "affinity": "INTEGER",
            "notNull": false
          },
          {
            "fieldPath": "mEventId",
            "columnName": "M_EVENT_ID",
            "affinity": "INTEGER",
            "notNull": false
          },
          {
            "fieldPath": "mPath",
            "columnName": "M_PATH",
            "affinity": "TEXT",
            "notNull": false
          }
        ],
        "primaryKey": {
          "columnNames": [
            "ID"
          ],
          "autoGenerate": true
        },
        "indices": [],
        "foreignKeys": []
      }
    ],
    "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, \"e6812687ff1f63ddcb6ebbf062ac6267\")"
    ]
  }
}