@davoodmehraban89 / Factor-easy / commits / 86f2a65
Fork 0

سامانه صدور فاکتور و حسابداری

fix: remove literal trailing escape from SQL migration

davoodmehraban89 committed Nov 17, 2026 at 08:02 UTC 86f2a65ad0f0d88186f68809e1922d8fff73f8a3
1 file changed +1 -1
supabase/migrations/20260929083130_phase3_hardening_atomic_sync_and_ledger_guards.sql
+1 -1
@@ -79,4 +79,4 @@ where collection='journalVouchers' and data->>'status' in ('posted','reversed');
79
80 create unique index if not exists ux_finora_journal_source_version
81 on public.records(owner_id,(data->>'companyId'),(data->>'sourceType'),(data->>'sourceId'),((coalesce(data->>'sourceVersion','1'))::integer))
82 -where collection='journalVouchers' and data->>'status' in ('posted','reversed') and coalesce(data->>'sourceId','') <> '';\n
\ No newline at end of file
82 +where collection='journalVouchers' and data->>'status' in ('posted','reversed') and coalesce(data->>'sourceId','') <> '';