سامانه صدور فاکتور و حسابداری
fix: remove literal trailing escape from SQL migration
davoodmehraban89 committed
Nov 17, 2026 at 08:01 UTC
025b0b760a14263562d560afd8fae2e4fc3a85dd
1 file changed
+1
-1
supabase/migrations/20260928025331_allow_purchases_collection.sql
+1
-1
@@ -1,2 +1,2 @@
1
ALTER TABLE public.records DROP CONSTRAINT records_collection_check;
2
-ALTER TABLE public.records ADD CONSTRAINT records_collection_check CHECK (collection = ANY (ARRAY['companies','contacts','products','invoices','cheques','expenses','settings','purchases']));\n
\ No newline at end of file
2
+ALTER TABLE public.records ADD CONSTRAINT records_collection_check CHECK (collection = ANY (ARRAY['companies','contacts','products','invoices','cheques','expenses','settings','purchases']));