text: create type delegate_action_type as enum ('START','STOP');
  create table governance.barn_delegate_actions
  (
      sender            text                 not null,
      receiver          text                 not null,
      action_type       delegate_action_type not null,
  
      block_timestamp   bigint               not null,
      included_in_block bigint               not null,
      tx_hash           text                 not null,
      tx_index          integer              not null,
      log_index         integer              not null,
      created_at        timestamp default now()
  );
  
  create index user_delegation_idx on governance.barn_delegate_actions (sender asc, included_in_block desc, log_index desc);
  