mirror of
https://github.com/FlipsideCrypto/terra-models.git
synced 2026-02-06 11:06:49 +00:00
5 lines
127 B
SQL
5 lines
127 B
SQL
{% macro change_decimal(column_name,decimal_place=6)-%}
|
|
|
|
{{column_name}}/pow(10,{{decimal_place}}) :: INTEGER
|
|
|
|
{%- endmacro %} |