MCPcopy Index your code
hub / github.com/db-migrate/node-db-migrate

github.com/db-migrate/node-db-migrate @v0.11.14

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.11.14 ↗ · + Follow
69 symbols 106 edges 50 files 3 documented · 4% updated 11mo agov1.0.0-beta.0 · 2019-06-08★ 2,343106 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Backers on Open Collective Sponsors on Open Collective Build Status Dependency Status devDependency Status Documentation Status Code Quality: Javascript Total Alerts

db-migrate

Join the chat at https://gitter.im/db-migrate/node-db-migrate

NPM

Database migration framework for node.js

Platinum sponsors

Details about sponsorships

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor] or reach out to magic+dbsponsorship@wizardtales.com.

Usage

Installation

$ npm install -g db-migrate

DB-Migrate is now available to you via:

$ db-migrate

As local module

Want to use db-migrate as local module?

$ npm install db-migrate

DB-Migrate is now available to you via:

$ node node_modules/db-migrate/bin/db-migrate

Officially Supported Databases

  • Mysql (https://github.com/felixge/node-mysql) https://github.com/db-migrate/mysql
  • PostgreSQL (https://github.com/brianc/node-postgres) https://github.com/db-migrate/pg
  • sqlite3 (https://github.com/developmentseed/node-sqlite3) https://github.com/db-migrate/sqlite
  • Mongodb (https://github.com/mongodb/node-mongodb-native) https://github.com/db-migrate/mongodb

Resources and usage instructions

Please follow the link below, for usage instructions examples and the full documentation of db-migrate.

Documentation: https://db-migrate.readthedocs.io/en/latest/

Support db-migrate

Backers

A big thank you to our backers. You're a tremendous and important help, to keep the project healthy! [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor] or reach out to magic+dbsponsorship@wizardtales.com.

License

(The MIT License)

Copyright (c) 2015 Tobias Gurtzick

Copyright (c) 2013 Jeff Kunkle

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Core symbols most depended-on inside this repo

dbMigrate
called by 7
test/integration/create_test.js
wipeMigrations
called by 6
test/integration/create_test.js
lpad
called by 5
test/util_test.js
defaultExecParams
called by 5
test/integration/api_test.js
shouldCreateSqlFiles
called by 4
lib/commands/create-migration.js
stubApiInstance
called by 4
test/integration/api_test.js
shouldCreateCoffeeFile
called by 3
lib/commands/create-migration.js
indexConnectCallback
called by 3
test/driver/index_test.js

Shape

Function 69

Languages

TypeScript100%

Modules by API surface

test/integration/api_test.js9 symbols
lib/skeleton.js8 symbols
lib/commands/create-migration.js6 symbols
test/migration_test.js5 symbols
lib/transitions/try-require.js4 symbols
lib/seeder.js3 symbols
lib/migrator.js3 symbols
lib/interface/seederInterface.js3 symbols
test/integration/create_test.js2 symbols
test/driver/index_test.js2 symbols
lib/interface/migratorInterface.js2 symbols
lib/config.js2 symbols

Datastores touched

dbnameDatabase · 1 repos

For agents

$ claude mcp add node-db-migrate \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page