Skip to content

Commit

Permalink
feat(cli): allow migrate command to target a specific environment
Browse files Browse the repository at this point in the history
  • Loading branch information
davewasmer committed Feb 3, 2017
1 parent 3be72e2 commit 8a8c72f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions commands/migrate.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ export default class MigrateCommand extends Command {
description: 'Shortcut for rolling back then migrating up again. If used with --step, it will replay that many migrations. If used with --version, it will roll back to that version then replay. If neither, defaults to --step 1',
defaultValue: false,
type: Boolean
},
environment: {
description: 'The environment configuration to use for connecting to the database',
defaultValue: 'development',
type: String
}
};

Expand Down

0 comments on commit 8a8c72f

Please sign in to comment.