We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad940fb commit 141b81fCopy full SHA for 141b81f
1 file changed
backend/src/database/migrations/V1771839722__refactorIntegrationsTable.sql
@@ -1,3 +1,7 @@
1
+-- Backup full integration rows (including deprecated columns and nangoMapping in settings) before any modifications
2
+CREATE TABLE integration.integrations_backup_02_24_2026 AS
3
+SELECT id, settings, "limitCount", "limitLastResetAt", "emailSentAt", "importHash" FROM integrations;
4
+
5
-- Part A: Drop deprecated columns from integrations table
6
ALTER TABLE public.integrations
7
DROP COLUMN IF EXISTS "limitCount",
0 commit comments