building5 / sails-db-migrate

db-migrate integration for sails.js
MIT License
61 stars 32 forks source link

passing 'migrating: true' to sails when lifting #7

Closed chadxz closed 10 years ago

chadxz commented 10 years ago

Some applications may have logic they need to skip when the application is lifting solely to get the migration data, so this configuration key will be available to the application when a migration is taking place.

chadxz commented 10 years ago

This will partially address #4, allowing you to skip any database-related logic in the bootstrap so that the app will lift

leedm777 commented 10 years ago

Thanks!