From 3ccad3aa42d4f8f96be5f2c60793269ba1a9b65d Mon Sep 17 00:00:00 2001 From: desmond-hui <97470747+desmond-hui@users.noreply.github.com> Date: Thu, 16 Jun 2022 14:35:36 -0700 Subject: [PATCH] force github to take new file (#4) : --- macros/sp_create_prod_clone.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros/sp_create_prod_clone.sql b/macros/sp_create_prod_clone.sql index 1d90f91..a6c5810 100644 --- a/macros/sp_create_prod_clone.sql +++ b/macros/sp_create_prod_clone.sql @@ -10,7 +10,7 @@ $$ try { snowflake.execute({sqlText: `DROP DATABASE IF EXISTS ${DESTINATION_DB_NAME}`}); snowflake.execute({sqlText: `CREATE DATABASE ${DESTINATION_DB_NAME} CLONE ${SOURCE_DB_NAME}`}); - snowflake.execute({sqlText: `DROP SCHEMA ${DESTINATION_DB_NAME}._INTERNAL`}); /* this only needs to be in prod */ + snowflake.execute({sqlText: `DROP SCHEMA ${DESTINATION_DB_NAME}._INTERNAL`}); /* this only needs to be in prod t*/ var existing_schemas = snowflake.execute({sqlText: `SELECT table_schema FROM ${DESTINATION_DB_NAME}.INFORMATION_SCHEMA.TABLE_PRIVILEGES