paltman-archive / nashvegas

Another database migration script runner for Django projects.
http://paltman.github.com/nashvegas
MIT License
97 stars 18 forks source link

comparedb omits the database name as suffix for createdb command #34

Closed jpic closed 12 years ago

jpic commented 12 years ago

The default createdb command for comparedb is:

command = "createdb %s" % self.name

But if the settings define a createdb command, it should be suffixed by the name too, which is not the case in:

command = settings.NASHVEGAS["createdb"]

https://github.com/paltman/nashvegas/blob/master/nashvegas/management/commands/comparedb.py#L28