node-sql-migrate

1.1.0 • Public • Published

SQL Migrate

This is a very basic migration tool used to sync tables between environments (eg, production, staging, development).

Make sure you set your environment variable (process.env.NODE_ENV.

How to Use

  • Install npm package: npm i node-sql-migrate
  • Create a folder SQL in the root of your Node.js application.
  • Create another folder migrations. This is where you will store your migration files.
  • Inside the migrations folder, create files 1-migrate.sql, 2-migrate.sql and so on. Do not redo previous migration files.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.0
    0
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i node-sql-migrate

Weekly Downloads

0

Version

1.1.0

License

ISC

Unpacked Size

3.26 kB

Total Files

3

Last publish

Collaborators

  • littlezigy