Minor Changes
-
Add first-class migration execution support to the postgres adapter. It now compiles and executes
DataMigrationOperationplans forremix/data-table/migrations, including create/alter/drop table and index flows, migration journal writes, and adapter-managed migration locking.Normal reads/writes continue through
execute(...), while migration/DDL work runs throughmigrate(...).SQL compilation remains adapter-owned and can share helpers from
remix/data-table/sql-helpers. -
Add transaction-aware migration introspection to the postgres adapter.
hasTable(table, transaction?)andhasColumn(table, column, transaction?)now use the provided migration transaction client when present, so planning and execution can inspect schema state inside the active migration transaction.
Patch Changes
- Bumped
@remix-run/*dependencies: