Schema migration tool for Firestore inspired by Flyway. Current stable version is 1.1.0 (released 2020). It uses semver-based file naming and stores migration state in a Firestore collection. Unlike Firestore-backed tools that require manual timestamp tracking, Fireway automates migration ordering and failure detection. It supports JavaScript and TypeScript migrations, including JSDoc-based typings. CLI-based with dry-run and forced async support. Releases are infrequent, indicating project stability.
npm install firewayNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates creating a simple migration file and running it via CLI using Firebase project ID or emulator.
Delete the document in the 'fireway' collection corresponding to the failed migration, then fix the migration and re-run.
Monitor GitHub for updates; consider pinning version if stability is needed.
Ensure @google-cloud/firestore is installed: npm install @google-cloud/firestore
Add 'ts-node': { 'compilerOptions': { 'module': 'commonjs' } } to tsconfig.json.npm install @google-cloud/firestore
npm install --save-dev ts-node && ensure tsconfig.json has 'ts-node' block with module: 'commonjs'
Provide --projectId option or set FIRESTORE_EMULATOR_HOST environment variable to use local emulator