mirror of
https://github.com/FlipsideCrypto/eclipse-models.git
synced 2026-02-06 15:06:54 +00:00
fix surrogate key name
This commit is contained in:
parent
5b368aad96
commit
d3495eb3be
@ -59,7 +59,7 @@ SELECT
|
||||
_inserted_timestamp,
|
||||
{{ dbt_utils.generate_surrogate_key(
|
||||
['block_id', 'tx_id', 'instruction_index', 'inner_index']
|
||||
) }} AS inner_instructions_id,
|
||||
) }} AS events_inner_id,
|
||||
sysdate() AS inserted_timestamp,
|
||||
sysdate() AS modified_timestamp,
|
||||
'{{ invocation_id }}' AS _invocation_id
|
||||
|
||||
@ -56,7 +56,7 @@ models:
|
||||
description: "{{ doc('_inserted_timestamp') }}"
|
||||
tests:
|
||||
- not_null
|
||||
- name: INNER_INSTRUCTIONS_ID
|
||||
- name: EVENTS_INNER_ID
|
||||
description: '{{ doc("pk") }}'
|
||||
data_tests:
|
||||
- not_null: *recent_date_filter
|
||||
|
||||
Loading…
Reference in New Issue
Block a user