diff options
author | Allan Wang <me@allanwang.ca> | 2019-04-25 15:14:10 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-25 15:14:10 -0700 |
commit | 4f3e44b7b9678dce48e7d322af72429b5f447acc (patch) | |
tree | ff913af0ff20f5d415428ac231372da13b9a6639 /app/src/schemas/com.pitchedapps.frost.db.FrostPublicDatabase | |
parent | f0f95295bdb2b853aa6262ec4bed2353ce326eee (diff) | |
parent | 00e04ce269197053a8cd8ae522c95629541181a1 (diff) | |
download | frost-4f3e44b7b9678dce48e7d322af72429b5f447acc.tar.gz frost-4f3e44b7b9678dce48e7d322af72429b5f447acc.tar.bz2 frost-4f3e44b7b9678dce48e7d322af72429b5f447acc.zip |
Merge pull request #1365 from AllanWang/room
Room
Diffstat (limited to 'app/src/schemas/com.pitchedapps.frost.db.FrostPublicDatabase')
-rw-r--r-- | app/src/schemas/com.pitchedapps.frost.db.FrostPublicDatabase/1.json | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/app/src/schemas/com.pitchedapps.frost.db.FrostPublicDatabase/1.json b/app/src/schemas/com.pitchedapps.frost.db.FrostPublicDatabase/1.json new file mode 100644 index 00000000..4a523c62 --- /dev/null +++ b/app/src/schemas/com.pitchedapps.frost.db.FrostPublicDatabase/1.json @@ -0,0 +1,40 @@ +{ + "formatVersion": 1, + "database": { + "version": 1, + "identityHash": "ee4d2fe4052ad3a1892be17681816c2c", + "entities": [ + { + "tableName": "frost_generic", + "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`type` TEXT NOT NULL, `contents` TEXT NOT NULL, PRIMARY KEY(`type`))", + "fields": [ + { + "fieldPath": "type", + "columnName": "type", + "affinity": "TEXT", + "notNull": true + }, + { + "fieldPath": "contents", + "columnName": "contents", + "affinity": "TEXT", + "notNull": true + } + ], + "primaryKey": { + "columnNames": [ + "type" + ], + "autoGenerate": false + }, + "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, \"ee4d2fe4052ad3a1892be17681816c2c\")" + ] + } +}
\ No newline at end of file |