This switches from a materialized view for account to an
account_inventory which is updated on a trigger with newly inserted
rows for accounts.
This should make ledger recalculation time go away and, more importantly make account inventory updates more synchronized with the block that affects any account
This switches from a materialized view for account to an account_inventory which is updated on a trigger with newly inserted rows for accounts.
This should make ledger recalculation time go away and, more importantly make account inventory updates more synchronized with the block that affects any account