New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

node-sql-migrate

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-sql-migrate

An sql migration tool

latest
npmnpm
Version
1.1.0
Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

sql

FAQs

Package last updated on 09 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts