سامانه صدور فاکتور و حسابداری
Mirrored from https://github.com/davoodmehraban89/Factor-easy.git
Synced Dec 3, 17:00 UTC
Archive production migration office_c7_remove_abandoned_duplicate_api
davoodmehraban89 committed
Oct 1, 2026 at 00:29 UTC
f41e745065ae1520ff401a9ca03f69dfbf5ac35f
1 file changed
+9
supabase/migrations/20260930205753_office_c7_remove_abandoned_duplicate_api.sql
new
+9
@@ -0,0 +1,9 @@
1
+
2
+-- Remove duplicate C7 API surface created by an abandoned concurrent branch.
3
+-- Canonical C7 on main uses office_record_ocr_evidence / office_correct_ocr_evidence / office_archive_search_v2.
4
+drop function if exists public.office_archive_full_text_search(uuid,text,text,text,text);
5
+drop function if exists private.office_archive_full_text_search_impl(uuid,text,text,text,text);
6
+drop function if exists public.office_latest_ocr_text(uuid,text);
7
+drop function if exists private.office_latest_ocr_text_impl(uuid,text);
8
+drop function if exists public.office_record_ocr_text(uuid,text,text,text,text,text,text,numeric);
9
+drop function if exists private.office_record_ocr_text_impl(uuid,text,text,text,text,text,text,numeric);