Skip to content
Browse files

adding database option.

Allows user to choose which database the migrations
are run on.
  • Loading branch information...
1 parent 9268f34 commit 0b5aa6ce98c0467bd977f1fb40790cacb491378c Matt George committed
Showing with 3 additions and 0 deletions.
  1. +3 −0 nashvegas/management/commands/
3 nashvegas/management/commands/
@@ -38,6 +38,9 @@ class Command(BaseCommand):
make_option("-s", "--seed", action = "store_true",
dest = "do_seed", default = False,
help = "Seed nashvegas with migrations that have previously been applied in another manner."),
+ make_option('--database', action='store', dest='database',
+ default=DEFAULT_DB_ALIAS, help='Nominates a database to synchronize. '
+ 'Defaults to the "default" database.'),
make_option("-p", "--path", dest = "path",
default = os.path.join(

0 comments on commit 0b5aa6c

Please sign in to comment.
Something went wrong with that request. Please try again.