|
|
@ -175,14 +175,6 @@ const MIGRATIONS = [ |
|
|
|
lastUpdated = datetime('now') |
|
|
|
WHERE id = 1 |
|
|
|
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; |
|
|
|
`,
|
|
|
|
}, |
|
|
|
]; |
|
|
|