mirror of
https://github.com/FlipsideCrypto/berachain-models.git
synced 2026-02-06 11:16:47 +00:00
9 lines
317 B
SQL
9 lines
317 B
SQL
{% macro create_snowflake_user(user_name, user_password) %}
|
|
{% set sql %}
|
|
CREATE USER IF NOT EXISTS {{ user_name }} PASSWORD = '{{ user_password }}' MUST_CHANGE_PASSWORD = FALSE;
|
|
{% endset %}
|
|
|
|
{% do run_query(sql) %}
|
|
{% do log("User '" ~ user_name ~ "' created successfully", info=true) %}
|
|
{% endmacro %}
|