Live Feed/Supabase/Fact Record
Supabase logo
Supabase
feature 96% Confidence Gate October 13, 2026

Declarative Schemas 2.0 with pg-delta

Supabase CLI migrations now include RLS policy changes, grants, view settings, partitions, and domains. This update ensures the declarative schema state is fully synchronized with the database configuration.

Verified State Diff

Comparison Mode:
- Previous State
Supabase CLI migrations excluded RLS policies, grants, view settings, partitions, and domains from the generated migration files.
+ Verified New State
Supabase CLI migrations now automatically include RLS policies, grants, view settings, partitions, and domains in the generated migration files.

Impact & Verification Analysis

WHO IS AFFECTED

Supabase developers managing database schemas via the CLI and CI/CD pipelines.

WHY IT MATTERS

It eliminates manual migration scripting for security policies and complex database objects, significantly reducing the risk of human error and ensuring consistent environment parity.

Full Fact Overview

The introduction of pg-delta within the Supabase CLI addresses a critical gap in the declarative migration workflow. Previously, the CLI's diffing engine ignored specific PostgreSQL objects, forcing developers to manually manage RLS policies, role-based grants, and complex schema structures like partitions and domains. By integrating pg-delta, the CLI now performs a comprehensive state comparison, ensuring that the generated migration files accurately reflect the intended database schema, thereby reducing configuration drift and manual intervention requirements.

Multi-Source Evidence Chain (1)

Declarative Schemas 2.0 with pg-deltaSupabase
TRACKED ENTITY
Explore all historical Supabase changes
View Supabase Hub ➔