Files
medical-mall/docs/sql/20_rls/README.md
2026-02-05 10:11:09 +08:00

8 lines
282 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# docs/sql/20_rls
本目录存放:
- RLS 启用与策略(`ENABLE ROW LEVEL SECURITY``CREATE/ALTER/DROP POLICY`
- 按域分组(如 `analytics/``user/` 等)
- 文件命名:`<table>_rls_v<version>.sql`
**禁止**:在此目录混入 DDL、RPC、GRANT 等对象。