mirror of
https://github.com/Findus23/se-simulator.git
synced 2024-09-10 05:23:47 +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
|
||||
|
||||
if __main__.__file__ != "server.py":
|
||||
db = MySQLDatabase("stackdata", **config.db)
|
||||
db = MySQLDatabase("se-simulator", **config.db)
|
||||
db.connect()
|
||||
else:
|
||||
from app import db
|
||||
|
|
Loading…
Reference in a new issue