-- ============================================
-- 此文件由 Meoo Cloud 自动生成，请勿修改
-- This file is auto-generated by Meoo Cloud, DO NOT MODIFY
-- ============================================

DROP POLICY IF EXISTS users_insert_inventory ON public.inventory_records; CREATE POLICY users_insert_inventory ON public.inventory_records FOR INSERT WITH CHECK (EXISTS (SELECT 1 FROM public.warehouses WHERE id = warehouse_id AND company_id = public.get_user_master_company_id()));
