mirror of
https://github.com/Findus23/se-simulator.git
synced 2024-09-19 15:53:45 +02:00
change db name
This commit is contained in:
parent
b6bc6423ac
commit
2b26133bce
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ from peewee import Model, MySQLDatabase
|
||||||
import config
|
import config
|
||||||
|
|
||||||
if __main__.__file__ != "server.py":
|
if __main__.__file__ != "server.py":
|
||||||
db = MySQLDatabase("stackdata", **config.db)
|
db = MySQLDatabase("se-simulator", **config.db)
|
||||||
db.connect()
|
db.connect()
|
||||||
else:
|
else:
|
||||||
from app import db
|
from app import db
|
||||||
|
|
Loading…
Reference in a new issue