New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

sails-hook-migrate

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sails-hook-migrate

Uses db-migrate to handle sails migration more efficiently/safely

  • 0.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

Sails Hook Migrate

Uses DB Migrate to handle database migrations automatically when lifting sails.

Supported Databases:

  • MySQL
  • PostgreSQL
  • sqlite3
  • MongoDB

Dependencies (optional)

Highly recommended to use with sails-generate-migrate to create migration scripts from the command line.

npm i -S sails-generate-migrate

Installation

npm i -S sails-generate-migrate sails-hook-migrate

Usage

Create a migrations folder and run sails lift!

  • Create a migrations folder
  • sails lift

Migrate will detect the connection specified by your sails config and run migrate up. You can also override the connection settings in the configuration.

Configuration

Keywords

FAQs

Package last updated on 01 Feb 2017

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc