Database Type
RLS Type
RLS Status
Databases
API Enabled
PostgreSQL: Uses native Row Level Security policies.
MySQL: Uses views, stored functions, and triggers to achieve equivalent security.
Native RLS is automatically enabled on tables.
| Table | Owner Column | Status |
|---|---|---|
| users | uuid | ✓ Protected |
| profiles | user_uuid | ✓ Protected |
| rls_users | uuid | ✓ Protected |
CREATE POLICY ON users USING (auth.uid() = uuid)
SELECT * FROM v_rls_users WHERE uuid = get_current_user_uuid()
Use GraphQL queries and mutations instead of REST endpoints.
query {
user
health
}
mutation {
signup(email: "user@example.com", password: "pass123", name: "John") {
uuid
email
}
}