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