feat: persist browser sessions and update admin workflows
This commit is contained in:
@@ -126,6 +126,10 @@ def _migrate_upstreams():
|
||||
conn.execute(text("ALTER TABLE upstreams ADD COLUMN balance_response_path VARCHAR(256) NOT NULL DEFAULT ''"))
|
||||
if "balance_divisor" not in columns:
|
||||
conn.execute(text("ALTER TABLE upstreams ADD COLUMN balance_divisor FLOAT NOT NULL DEFAULT 1.0"))
|
||||
if "balance_alert_threshold" not in columns:
|
||||
conn.execute(text("ALTER TABLE upstreams ADD COLUMN balance_alert_threshold FLOAT"))
|
||||
if "balance_alert_notified" not in columns:
|
||||
conn.execute(text("ALTER TABLE upstreams ADD COLUMN balance_alert_notified BOOLEAN NOT NULL DEFAULT 0"))
|
||||
|
||||
|
||||
def _migrate_upstream_generated_keys():
|
||||
|
||||
Reference in New Issue
Block a user