forked from jsnbuchanan/crowd-funder-for-time-pwa
fix: had to remove a select from migration for Android to migrate.
This commit is contained in:
@@ -175,14 +175,6 @@ const MIGRATIONS = [
|
|||||||
lastUpdated = datetime('now')
|
lastUpdated = datetime('now')
|
||||||
WHERE id = 1
|
WHERE id = 1
|
||||||
AND EXISTS (SELECT 1 FROM settings WHERE id = 1 AND activeDid IS NOT NULL AND activeDid != '');
|
AND EXISTS (SELECT 1 FROM settings WHERE id = 1 AND activeDid IS NOT NULL AND activeDid != '');
|
||||||
|
|
||||||
-- Debug: Log the migration result
|
|
||||||
SELECT 'DEBUG: ActiveDid migration result' as debug_message,
|
|
||||||
(SELECT activeDid FROM active_identity WHERE id = 1) as migrated_activeDid,
|
|
||||||
(SELECT activeDid FROM settings WHERE id = 1) as original_activeDid;
|
|
||||||
|
|
||||||
-- Debug: Verify the row was inserted
|
|
||||||
SELECT 'DEBUG: Row count after insertion' as debug_message, COUNT(*) as row_count FROM active_identity;
|
|
||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user