diff --git a/.idea/gradle.xml b/.idea/gradle.xml
index 1caf621..2cb0567 100644
--- a/.idea/gradle.xml
+++ b/.idea/gradle.xml
@@ -49,9 +49,39 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
diff --git a/persistence-room/schemas/org.mercury_im.messenger.persistence.room.AppDatabase/1.json b/persistence-room/schemas/org.mercury_im.messenger.persistence.room.AppDatabase/1.json
index 5295506..bb18516 100644
--- a/persistence-room/schemas/org.mercury_im.messenger.persistence.room.AppDatabase/1.json
+++ b/persistence-room/schemas/org.mercury_im.messenger.persistence.room.AppDatabase/1.json
@@ -2,7 +2,7 @@
"formatVersion": 1,
"database": {
"version": 1,
- "identityHash": "3101152b94f78344b348b040386bb144",
+ "identityHash": "6322b5b46e09460ae6f30134786c9221",
"entities": [
{
"tableName": "accounts",
@@ -121,7 +121,7 @@
},
{
"tableName": "contacts",
- "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pk_contact_id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `fk_entity_id` INTEGER NOT NULL, `rostername` TEXT, `direction` TEXT, `sub_pending` INTEGER NOT NULL, `approved` INTEGER NOT NULL, FOREIGN KEY(`fk_entity_id`) REFERENCES `entities`(`pk_entity_id`) ON UPDATE NO ACTION ON DELETE RESTRICT )",
+ "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`pk_contact_id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `fk_entity_id` INTEGER NOT NULL, `rostername` TEXT, `sub_direction` TEXT, `sub_pending` INTEGER NOT NULL, `sub_approved` INTEGER NOT NULL, FOREIGN KEY(`fk_entity_id`) REFERENCES `entities`(`pk_entity_id`) ON UPDATE NO ACTION ON DELETE RESTRICT )",
"fields": [
{
"fieldPath": "id",
@@ -143,7 +143,7 @@
},
{
"fieldPath": "direction",
- "columnName": "direction",
+ "columnName": "sub_direction",
"affinity": "TEXT",
"notNull": false
},
@@ -155,7 +155,7 @@
},
{
"fieldPath": "approved",
- "columnName": "approved",
+ "columnName": "sub_approved",
"affinity": "INTEGER",
"notNull": true
}
@@ -512,7 +512,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, '3101152b94f78344b348b040386bb144')"
+ "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '6322b5b46e09460ae6f30134786c9221')"
]
}
}
\ No newline at end of file