iloom-flatten/migrations/20260528_083705_add_share_links_update_rls.sql

7 lines
351 B
MySQL
Raw Normal View History

-- ============================================
-- 此文件由 Meoo Cloud 自动生成,请勿修改
-- This file is auto-generated by Meoo Cloud, DO NOT MODIFY
-- ============================================
CREATE POLICY users_update_own_share_links ON share_links FOR UPDATE USING (created_by = auth.uid()) WITH CHECK (created_by = auth.uid());