mirror of
https://github.com/WGDashboard/WGDashboard-PRW.git
synced 2026-08-03 22:42:57 +00:00
feat: start working on Flask
This commit is contained in:
@@ -15,8 +15,6 @@ class database():
|
||||
if not ok:
|
||||
return False, None, None
|
||||
|
||||
log.info(connection_string)
|
||||
|
||||
try:
|
||||
engine = sqlalchemy.create_engine(connection_string, echo=False)
|
||||
|
||||
@@ -30,7 +28,7 @@ class database():
|
||||
return False, None, None
|
||||
|
||||
@staticmethod
|
||||
def verify_contents(engine) -> bool:
|
||||
def ensure_contents(engine) -> bool:
|
||||
try:
|
||||
log.info('checking if all tables are present, and creating them if they are not')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user