admin的数据库文件补全,修复uvue中的数据库接入bug
This commit is contained in:
@@ -13,6 +13,6 @@ ALTER TABLE public.ak_diy_pages ENABLE ROW LEVEL SECURITY;
|
||||
DROP POLICY IF EXISTS diy_pages_select_active ON public.ak_diy_pages;
|
||||
CREATE POLICY diy_pages_select_active ON public.ak_diy_pages
|
||||
FOR SELECT TO anon, authenticated
|
||||
USING (is_active = true);
|
||||
USING (is_active = true AND deleted_at IS NULL);
|
||||
|
||||
-- 管理端全量管理将通过 SECURITY DEFINER 的 RPC 接口执行,此处不再额外开放直接表操作
|
||||
|
||||
Reference in New Issue
Block a user