{"library":"knex-schema-builder","type":"library","category":null,"description":"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).","language":"javascript","status":"abandoned","version":"0.4.10","tags":["javascript","knex","schema","database","install","migrate","mysql","postgres","sqlite"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install knex-schema-builder","imports":["const schema = require('knex-schema-builder'); schema.install(db, path, callback);","const schema = require('knex-schema-builder'); schema.upgrade(db, path, callback);","const schema = require('knex-schema-builder'); schema.isInstallNeeded(db, path, callback);"]},{"cmd":"yarn add knex-schema-builder","imports":[]},{"cmd":"pnpm add knex-schema-builder","imports":[]}],"homepage":"https://github.com/danielgindi/knex-schema-builder","github":"https://github.com/danielgindi/knex-schema-builder","docs":null,"changelog":null,"pypi":null,"npm":"knex-schema-builder","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}