adding DB_MIGRATION_ENGINE and fixing defaults

This commit is contained in:
John Jarvis
2014-02-04 09:24:49 -05:00
parent 3fe701c037
commit 442abde030

View File

@@ -14,8 +14,9 @@ import os
from django.core.exceptions import ImproperlyConfigured
DB_OVERRIDES = dict(
USER=os.environ.get('DB_MIGRATION_USER', 'root'),
PASSWORD=os.environ.get('DB_MIGRATION_PASS', None),
ENGINE=os.environ.get('DB_MIGRATION_ENGINE', DATABASES['default']['ENGINE'])
USER=os.environ.get('DB_MIGRATION_USER', DATABASES['default']['USER']),
NAME=os.environ.get('DB_MIGRATION_NAME', DATABASES['default']['NAME']),
HOST=os.environ.get('DB_MIGRATION_HOST', DATABASES['default']['HOST']),
PORT=os.environ.get('DB_MIGRATION_PORT', DATABASES['default']['PORT']),