Skip to content

Commit

Permalink
Add vault fields to report to get better alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
prevostc committed Oct 8, 2024
1 parent 34dc991 commit 38cc7d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/db/migrate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,8 @@ export async function db_migrate() {
r.balance_before_ok,
r.balance_after_ok,
d.vault->>'id' as vault_id,
(d.vault->>'isClmManager') === 'true' as vault_is_clm_manager,
(d.vault->>'isClmVault') === 'true' as vault_is_clm_vault,
d.simulation is not null as simulation_started,
async_field_ok(d.simulation) as simulation_ok,
d.simulation->'reason' as simulation_ko_reason,
Expand Down

0 comments on commit 38cc7d8

Please sign in to comment.