Change8

data-table-sqlite@0.2.0

📦 remixView on GitHub →
2 features🔧 8 symbols

Summary

The sqlite adapter now supports first-class migration execution, including DDL operations within transactions, and introspection methods are now transaction-aware. Dependencies have also been updated.

Migration Steps

  1. Users performing migration/DDL work in the sqlite adapter should now use the new `migrate(...)` method instead of the existing `execute(...)` method, which remains for normal reads/writes.

✨ New Features

  • Added first-class migration execution support to the sqlite adapter, compiling and executing DataMigrationOperation plans for table/index creation/alteration/dropping, migration journal writes, and adapter-managed DDL execution.
  • Introduced transaction-aware migration introspection to the sqlite adapter: hasTable(table, transaction?) and hasColumn(table, column, transaction?) now accept and utilize a transaction token for schema checks within the active migration transaction.

Affected Symbols

remix data-table-sqlite@0.2.0 - Change8