06/03 Optimize app
This commit is contained in:
@@ -56,9 +56,9 @@ with app.app_context():
|
|||||||
conn.commit()
|
conn.commit()
|
||||||
print(f" Added {table}.{column}.")
|
print(f" Added {table}.{column}.")
|
||||||
|
|
||||||
for sql in CREATE_TABLES:
|
for sql in CREATE_TABLES:
|
||||||
conn.execute(db.text(sql))
|
conn.execute(db.text(sql))
|
||||||
conn.commit()
|
conn.commit()
|
||||||
print(" Created audit_logs table (or already exists).")
|
print(" Created audit_logs table (or already exists).")
|
||||||
|
|
||||||
print("Done.")
|
print("Done.")
|
||||||
|
|||||||
Reference in New Issue
Block a user