Skip to content

Commit

Permalink
Fix database for testing environment
Browse files Browse the repository at this point in the history
  • Loading branch information
dlareau committed Mar 11, 2020
1 parent 232bc2b commit 200f3a0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions puzzlehunt_server/settings/travis_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@
SECRET_KEY = '$1B&VUf$OdUEfMJXd40qdakA36@%2NE_41Dz9tFs6l=z4v_3P-'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'puzzlehunt_db',
'HOST': '127.0.0.1',
'USER': 'root',
'PASSWORD': '',
'OPTIONS': {'charset': 'utf8mb4'},
}
}
INTERNAL_IPS = ''
Expand All @@ -34,4 +33,4 @@
'level': os.getenv('DJANGO_LOG_LEVEL', 'INFO'),
},
},
}
}

0 comments on commit 200f3a0

Please sign in to comment.