diff --git a/src/views/DatabaseMigration.vue b/src/views/DatabaseMigration.vue index 580497e4..c65719f6 100644 --- a/src/views/DatabaseMigration.vue +++ b/src/views/DatabaseMigration.vue @@ -246,22 +246,23 @@
+
- Dexie Contacts + Dexie Accounts
- {{ comparison.dexieContacts.length }} + {{ comparison.dexieAccounts.length }}
@@ -275,16 +276,16 @@
- SQLite Contacts + SQLite Accounts
- {{ comparison.sqliteContacts.length }} + {{ comparison.sqliteAccounts.length }}
@@ -292,6 +293,7 @@
+
@@ -338,22 +340,23 @@
+
- Dexie Accounts + Dexie Contacts
- {{ comparison.dexieAccounts.length }} + {{ comparison.dexieContacts.length }}
@@ -367,16 +370,16 @@
- SQLite Accounts + SQLite Contacts
- {{ comparison.sqliteAccounts.length }} + {{ comparison.sqliteContacts.length }}
@@ -387,11 +390,11 @@
- +

- Contact Differences + Account Differences

@@ -406,7 +409,7 @@ Added
{{ - comparison.differences.contacts.added.length + comparison.differences.accounts.added.length }}
@@ -423,7 +426,7 @@ >
{{ - comparison.differences.contacts.modified.length + comparison.differences.accounts.modified.length }}
@@ -440,77 +443,83 @@ >
{{ - comparison.differences.contacts.missing.length + comparison.differences.accounts.missing.length }}
- +

- Added Contacts ({{ comparison.differences.contacts.added.length }}): + Added Accounts ({{ comparison.differences.accounts.added.length }}):

-
{{ contact.name || '' }}
-
{{ contact.did }}
-
{{ contact.contactMethods?.length || 0 }} contact methods
+
ID: {{ account.id }}
+
{{ account.did }}
+
Created: {{ account.dateCreated }}
+
Has Identity: {{ getAccountHasIdentity(account) ? 'Yes' : 'No' }}
+
Has Mnemonic: {{ getAccountHasMnemonic(account) ? 'Yes' : 'No' }}
- +

- Modified Contacts ({{ comparison.differences.contacts.modified.length }}): + Modified Accounts ({{ comparison.differences.accounts.modified.length }}):

-
{{ contact.name || '' }}
-
{{ contact.did }}
-
{{ contact.contactMethods?.length || 0 }} contact methods
+
ID: {{ account.id }}
+
{{ account.did }}
+
Created: {{ account.dateCreated }}
+
Has Identity: {{ getAccountHasIdentity(account) ? 'Yes' : 'No' }}
+
Has Mnemonic: {{ getAccountHasMnemonic(account) ? 'Yes' : 'No' }}
- +

- Missing Contacts ({{ comparison.differences.contacts.missing.filter(c => c.did).length }}): + Missing Accounts ({{ comparison.differences.accounts.missing.filter(a => a.did).length }}):

-
{{ contact.name || '' }}
-
{{ contact.did }}
-
{{ contact.contactMethods?.length || 0 }} contact methods
+
ID: {{ account.id }}
+
{{ account.did }}
+
Created: {{ account.dateCreated }}
+
Has Identity: {{ getAccountHasIdentity(account) ? 'Yes' : 'No' }}
+
Has Mnemonic: {{ getAccountHasMnemonic(account) ? 'Yes' : 'No' }}
- +

@@ -633,11 +642,11 @@

- +

- Account Differences + Contact Differences

@@ -652,7 +661,7 @@ Added
{{ - comparison.differences.accounts.added.length + comparison.differences.contacts.added.length }}
@@ -669,7 +678,7 @@ >
{{ - comparison.differences.accounts.modified.length + comparison.differences.contacts.modified.length }}
@@ -686,76 +695,70 @@ >
{{ - comparison.differences.accounts.missing.length + comparison.differences.contacts.missing.length }} - +

- Added Accounts ({{ comparison.differences.accounts.added.length }}): + Added Contacts ({{ comparison.differences.contacts.added.length }}):

-
ID: {{ account.id }}
-
{{ account.did }}
-
Created: {{ account.dateCreated }}
-
Has Identity: {{ getAccountHasIdentity(account) ? 'Yes' : 'No' }}
-
Has Mnemonic: {{ getAccountHasMnemonic(account) ? 'Yes' : 'No' }}
+
{{ contact.name || '' }}
+
{{ contact.did }}
+
{{ contact.contactMethods?.length || 0 }} contact methods
- +

- Modified Accounts ({{ comparison.differences.accounts.modified.length }}): + Modified Contacts ({{ comparison.differences.contacts.modified.length }}):

-
ID: {{ account.id }}
-
{{ account.did }}
-
Created: {{ account.dateCreated }}
-
Has Identity: {{ getAccountHasIdentity(account) ? 'Yes' : 'No' }}
-
Has Mnemonic: {{ getAccountHasMnemonic(account) ? 'Yes' : 'No' }}
+
{{ contact.name || '' }}
+
{{ contact.did }}
+
{{ contact.contactMethods?.length || 0 }} contact methods
- +

- Missing Accounts ({{ comparison.differences.accounts.missing.filter(a => a.did).length }}): + Missing Contacts ({{ comparison.differences.contacts.missing.filter(c => c.did).length }}):

-
ID: {{ account.id }}
-
{{ account.did }}
-
Created: {{ account.dateCreated }}
-
Has Identity: {{ getAccountHasIdentity(account) ? 'Yes' : 'No' }}
-
Has Mnemonic: {{ getAccountHasMnemonic(account) ? 'Yes' : 'No' }}
+
{{ contact.name || '' }}
+
{{ contact.did }}
+
{{ contact.contactMethods?.length || 0 }} contact methods