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 38cc7d8 commit 7d990c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/db/migrate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -430,8 +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.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 7d990c2

Please sign in to comment.