// // Copyright 2026 DXOS.org // import * as SqlMigrations from '@dxos/sql-sqlite/SqlMigrations'; import init from './0001_init.sql?raw'; import subductionMigrations from './0002_subduction_migrations.sql?raw'; /** * Automerge chunk-storage migrations, keyed `_` as `Migrator.fromRecord` expects. Ids must only ever increase, * and an applied migration must never be edited — nothing verifies its contents. */ export const MIGRATIONS = { '0001_init': SqlMigrations.apply(init), '0002_subduction_migrations': SqlMigrations.apply(subductionMigrations), }; /** Own history table per store, since many stores share the client database. */ export const MIGRATIONS_TABLE = 'automerge_chunks_migrations';