update db conf in production
This commit is contained in:
parent
bc7e1591bd
commit
8728d3028b
|
@ -41,8 +41,8 @@ class TestingConfig(Config):
|
||||||
|
|
||||||
|
|
||||||
class ProductionConfig(Config):
|
class ProductionConfig(Config):
|
||||||
SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:{h}@database/pitstops'.format(
|
SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://root:{h}@localhost/pitstops'.format(
|
||||||
h=os.environ.get('DATABASE_ENV_MYSQL_ROOT_PASSWORD'))
|
h=os.environ.get('MYSQL_PASSWORD'))
|
||||||
|
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
|
Loading…
Reference in New Issue