aboutsummaryrefslogtreecommitdiff
path: root/app/src/schemas/com.pitchedapps.frost.db.FrostPublicDatabase
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-03-05 18:31:47 -0500
committerAllan Wang <me@allanwang.ca>2019-03-05 18:31:47 -0500
commitc917dc13dabe7781a097383ae89f2d00f32fffcb (patch)
treea5a4edb12b6fc002ee76ef175533feb6cd7b7b75 /app/src/schemas/com.pitchedapps.frost.db.FrostPublicDatabase
parent566fcce5b79cfa22b0828d92e33ac4f109564927 (diff)
downloadfrost-c917dc13dabe7781a097383ae89f2d00f32fffcb.tar.gz
frost-c917dc13dabe7781a097383ae89f2d00f32fffcb.tar.bz2
frost-c917dc13dabe7781a097383ae89f2d00f32fffcb.zip
Create initial room models
Diffstat (limited to 'app/src/schemas/com.pitchedapps.frost.db.FrostPublicDatabase')
-rw-r--r--app/src/schemas/com.pitchedapps.frost.db.FrostPublicDatabase/1.json39
1 files changed, 39 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..687d0bc1
--- /dev/null
+++ b/app/src/schemas/com.pitchedapps.frost.db.FrostPublicDatabase/1.json
@@ -0,0 +1,39 @@
+{
+ "formatVersion": 1,
+ "database": {
+ "version": 1,
+ "identityHash": "fde868470836ff9230f1d406922d7563",
+ "entities": [
+ {
+ "tableName": "tabs",
+ "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`position` INTEGER NOT NULL, `tab` TEXT NOT NULL, PRIMARY KEY(`position`))",
+ "fields": [
+ {
+ "fieldPath": "position",
+ "columnName": "position",
+ "affinity": "INTEGER",
+ "notNull": true
+ },
+ {
+ "fieldPath": "tab",
+ "columnName": "tab",
+ "affinity": "TEXT",
+ "notNull": true
+ }
+ ],
+ "primaryKey": {
+ "columnNames": [
+ "position"
+ ],
+ "autoGenerate": false
+ },
+ "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, \"fde868470836ff9230f1d406922d7563\")"
+ ]
+ }
+} \ No newline at end of file