mirror of
https://github.com/FlipsideCrypto/eclipse-models.git
synced 2026-02-06 17:26:49 +00:00
* add gitignore * replace xyz with eclipse --------- Co-authored-by: desmond-hui <desmond@flipsidecryto.com>
12 lines
442 B
SQL
12 lines
442 B
SQL
{% macro create_sps() %}
|
|
{% if target.database == 'ECLIPSE' %}
|
|
CREATE SCHEMA IF NOT EXISTS _internal;
|
|
{{ sp_create_prod_clone('_internal') }};
|
|
{% endif %}
|
|
{% endmacro %}
|
|
|
|
{% macro enable_search_optimization(schema_name, table_name, condition = '') %}
|
|
{% if target.database == 'ECLIPSE' %}
|
|
ALTER TABLE {{ schema_name }}.{{ table_name }} ADD SEARCH OPTIMIZATION {{ condition }}
|
|
{% endif %}
|
|
{% endmacro %} |