version: 2
models:
  - name: gov__fact_governance_votes
    description: Records of all votes on proposals. The columns blockchain, chain_id, and tx_status will be deprecating soon. 
    columns:
      - name: BLOCK_ID
        description: "{{ doc('block_id') }}"
        tests:
          - dbt_expectations.expect_column_to_exist
      - name: BLOCK_TIMESTAMP
        description: "{{ doc('block_timestamp') }}"
        tests:
          - dbt_expectations.expect_column_to_exist
      - name: TX_ID
        description: "{{ doc('tx_id') }}"
        tests: 
          - dbt_expectations.expect_column_to_exist
      - name: TX_SUCCEEDED
        description: "{{ doc('tx_succeeded') }}"
        tests: 
          - dbt_expectations.expect_column_to_exist
      - name: VOTER
        description: "{{ doc('voter') }}"
        tests: 
          - dbt_expectations.expect_column_to_exist
      - name: PROPOSAL_ID
        description: "{{ doc('proposal_id') }}"
        tests: 
          - dbt_expectations.expect_column_to_exist
      - name: VOTE_OPTION
        description: "{{ doc('vote_option') }}"
        tests: 
          - dbt_expectations.expect_column_to_exist
      - name: MEMO
        description: "{{ doc('memo') }}"
        tests: 
          - dbt_expectations.expect_column_to_exist