Skip to content

Commit

Permalink
Made flags optional and minor formatting update
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Jan 11, 2016
1 parent 2ef69f8 commit 49aef82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Commands/Make.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module.exports = {{Schema}}

let Make = exports = module.exports = {}
Make.description = 'Create a new migration file'
Make.signature = '{name} {--table:Name of the table you want to modify} {--create:Name of the table you want to create}'
Make.signature = '{name} {--table?:Name of the table you want to modify} {--create?:Name of the table you want to create}'

/**
* @description returns code block for create or
Expand All @@ -56,7 +56,7 @@ Make._up = function (table, createTable) {
})`
}
return `this.table('${table}', function (table) {
})`
})`
}

/**
Expand Down

0 comments on commit 49aef82

Please sign in to comment.