knex-schema-builder

JSON →
library 0.4.10 ·javascript abandoned
verified Jun 7, 2026

A schema builder helper for Knex that automates database initialization and migration using JSON schema files. It provides a declarative way to define database schemas (schema.json) and versioned upgrade scripts (upgrade.####.json). The tool supports MySQL, PostgreSQL, and SQLite. Version 0.4.10 is the current stable release, with low release cadence (last update years ago). It relies on Knex as a peer dependency. Key differentiator: JSON-driven schema definition and upgrade path, ideal for projects that need a simple, migration-based DB setup without writing raw SQL or complex migration files. Note: The package is unmaintained (last commit in 2016).