aboutsummaryrefslogtreecommitdiff
path: root/app/src/schemas/com.pitchedapps.frost.db.FrostPublicDatabase
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-03-07 19:36:09 -0500
committerAllan Wang <me@allanwang.ca>2019-03-07 19:36:09 -0500
commit3f5d2cf2a55d28528c88e118f09a91fd6c59ac43 (patch)
tree74d0e876c5689f11d9134d5ebd25b03860b1aeb0 /app/src/schemas/com.pitchedapps.frost.db.FrostPublicDatabase
parentcac563f6c6a2656c74527bfa2c8b5780765baf69 (diff)
downloadfrost-3f5d2cf2a55d28528c88e118f09a91fd6c59ac43.tar.gz
frost-3f5d2cf2a55d28528c88e118f09a91fd6c59ac43.tar.bz2
frost-3f5d2cf2a55d28528c88e118f09a91fd6c59ac43.zip
Replace tab dao with generic dao
Diffstat (limited to 'app/src/schemas/com.pitchedapps.frost.db.FrostPublicDatabase')
-rw-r--r--app/src/schemas/com.pitchedapps.frost.db.FrostPublicDatabase/1.json20
1 files changed, 10 insertions, 10 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
index fe2aa83e..4a523c62 100644
--- a/app/src/schemas/com.pitchedapps.frost.db.FrostPublicDatabase/1.json
+++ b/app/src/schemas/com.pitchedapps.frost.db.FrostPublicDatabase/1.json
@@ -2,28 +2,28 @@
"formatVersion": 1,
"database": {
"version": 1,
- "identityHash": "fde868470836ff9230f1d406922d7563",
+ "identityHash": "ee4d2fe4052ad3a1892be17681816c2c",
"entities": [
{
- "tableName": "tabs",
- "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`position` INTEGER NOT NULL, `tab` TEXT NOT NULL, PRIMARY KEY(`position`))",
+ "tableName": "frost_generic",
+ "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`type` TEXT NOT NULL, `contents` TEXT NOT NULL, PRIMARY KEY(`type`))",
"fields": [
{
- "fieldPath": "position",
- "columnName": "position",
- "affinity": "INTEGER",
+ "fieldPath": "type",
+ "columnName": "type",
+ "affinity": "TEXT",
"notNull": true
},
{
- "fieldPath": "tab",
- "columnName": "tab",
+ "fieldPath": "contents",
+ "columnName": "contents",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"columnNames": [
- "position"
+ "type"
],
"autoGenerate": false
},
@@ -34,7 +34,7 @@
"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, \"fde868470836ff9230f1d406922d7563\")"
+ "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, \"ee4d2fe4052ad3a1892be17681816c2c\")"
]
}
} \ No newline at end of file