UNPKG

@golemio/db-migrate

Version:

Database migration framework for node.js

67 lines (47 loc) 2.14 kB
<div align="center"> <p> <a href="https://operatorict.cz"> <img src="https://gitlab.com/operator-ict/golemio/code/modules/core/-/raw/development/.assets/oict_logo.png" alt="oict" width="100px" height="100px" /> </a> <a href="https://golemio.cz"> <img src="https://gitlab.com/operator-ict/golemio/code/modules/core/-/raw/development/.assets/golemio_logo.png" alt="golemio" width="100px" height="100px" /> </a> </p> <h1>@golemio/db-migrate</h1> <p> <a href="https://gitlab.com/operator-ict/golemio/code/db-migrate/commits/master"> <img src="https://gitlab.com/operator-ict/golemio/code/db-migrate/badges/master/pipeline.svg" alt="pipeline"> </a> <a href="https://gitlab.com/operator-ict/golemio/code/db-migrate/commits/master"> <img src="https://gitlab.com/operator-ict/golemio/code/db-migrate/badges/master/coverage.svg" alt="coverage"> </a> <a href="./LICENSE"> <img src="https://img.shields.io/npm/l/@golemio/db-migrate" alt="license"> </a> </p> </div> __Forked from [db-migrate](https://github.com/db-migrate/node-db-migrate), originally developed by [Tobias Gurtzick](https://github.com/wzrdtales)__ Database migration framework for node.js # 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/