Change default db to psql
This commit is contained in:
parent
bc4061f12a
commit
e798679c6c
1 changed files with 2 additions and 2 deletions
|
@ -6,8 +6,8 @@ ALLOWED_HOSTS = os.environ.get('ALLOWED_HOSTS', "").split(",")
|
|||
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': os.environ.get('SQL_ENGINE', 'django.db.backends.sqlite3'),
|
||||
'NAME': os.environ.get('SQL_DATABASE', os.path.join(BASE_DIR, 'db.sqlite3')),
|
||||
'ENGINE': os.environ.get('SQL_ENGINE', 'django.db.backends.postgresql'),
|
||||
'NAME': os.environ.get('SQL_DATABASE', 'app'),
|
||||
'USER': os.environ.get('SQL_USER', 'app'),
|
||||
'PASSWORD': os.environ.get('SQL_PASSWORD', ''),
|
||||
'HOST': os.environ.get('SQL_HOST', 'localhost'),
|
||||
|
|
Loading…
Reference in a new issue