Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Add a subtask for creating an empty migration #16

Merged
merged 3 commits into from
Sep 5, 2014

Conversation

zbrox
Copy link
Contributor

@zbrox zbrox commented Aug 16, 2014

It's a simple task that takes an argument of --name and creates an empty migration in the form of 20140816212803-nameSpecified.js. I took some of the stuff like the skeleton directly from the sequelize-cli code for creating an empty migration.

This relates to issue #8.

@bencevans
Copy link
Owner

Sorry I've not got to this yet, I am trying to get to it soon though!
On 16 Aug 2014 20:30, "Rostislav" notifications@github.com wrote:

It's a simple task that takes an argument of --name and creates an empty
migration in the form of 20140816212803-nameSpecified.js. I took some of
the stuff like the skeleton directly from the sequelize-cli code for
creating an empty migration.

This relates to issue #8

#8.

You can merge this Pull Request by running

git pull https://github.com/zbrox/grunt-sequelize master

Or view, comment on, or merge it at:

#16
Commit Summary

  • Add a simple empty migration file creation task
  • Add proper option handling for the migration subtask
  • Add tests for migration subtask

File Changes

Patch Links:


Reply to this email directly or view it on GitHub
#16.

bencevans added a commit that referenced this pull request Sep 5, 2014
Add a subtask for creating an empty migration
@bencevans bencevans merged commit d77d934 into bencevans:master Sep 5, 2014
@bencevans
Copy link
Owner

Awesome, Ta!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants