Split sql db create queries

This commit is contained in:
Griatch 2019-03-19 22:04:51 +01:00
parent 31228b61e5
commit b72f68e9e6
2 changed files with 10 additions and 4 deletions

View file

@ -44,7 +44,7 @@ if os.environ.get("TESTING_DB") == "postgresql":
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'evennia',
'USER': 'evennia',
'PASSWORD': '',
'PASSWORD': 'password',
'HOST': 'localhost',
'PORT': '' # use default
}}
@ -54,7 +54,7 @@ elif os.environ.get("TESTING_DB") == "mysql":
'ENGINE': 'django.db.backends.mysql',
'NAME': 'evennia',
'USER': 'evennia',
'PASSWORD': '',
'PASSWORD': 'password',
'HOST': 'localhost', # or an IP Address that your DB is hosted on
'PORT': '', # use default port
}