from config.default import *


# MySQL 데이터베이스 연결 설정
#app.config['SQLALCHEMY_DATABASE_URI'] = 'mysql+pymysql://master:123456@localhost/master'
#app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False

#sqlite
SQLALCHEMY_DATABASE_URI = 'sqlite:///{}'.format(os.path.join(BASE_DIR, 'hospital.db'))
SQLALCHEMY_TRACK_MODIFICATIONS = False
SECRET_KEY = "dev"


#mysql
#SQLALCHEMY_DATABASE_URI = 'mysql+pymysql://master:123456@localhost/master'
#SQLALCHEMY_TRACK_MODIFICATIONS = False
#SECRET_KEY = "dev"