1.started removal of CDNs.\n 2. Improved modular structure for all parts of project including database.

This commit is contained in:
2024-08-30 23:27:28 +01:00
parent 18977c8cac
commit f9cd9ec33a
2895 changed files with 490579 additions and 7561 deletions

View File

@@ -31,7 +31,7 @@ class Helper_DB_MySQL(BaseModel):
db.init_app(self.app)
with self.app.app_context():
db.create_all()
db.engine.url = self.app.config.SQLALCHEMY_DATABASE_URI
db.engine.url = self.app.config['SQLALCHEMY_DATABASE_URI']
return db
@staticmethod