Skip to content

Commit

Permalink
Rename snowflake/objects/ folders to singular
Browse files Browse the repository at this point in the history
  • Loading branch information
philerooski committed Jul 3, 2024
1 parent aaa9ee5 commit a2fb77c
Show file tree
Hide file tree
Showing 35 changed files with 4 additions and 4 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ CREATE DATABASE IF NOT EXISTS recover_{{ environment }};
USE DATABASE recover_{{ environment }};

EXECUTE IMMEDIATE
FROM './schemas/deploy.sql'
FROM './schema/deploy.sql'
USING (
git_branch => '{{ git_branch }}'
);
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ EXECUTE IMMEDIATE
parquet_file_format_name => $parquet_file_format_name
);
EXECUTE IMMEDIATE
FROM './stages/deploy.sql'
FROM './stage/deploy.sql'
USING (
git_branch => '{{ git_branch }}',
parquet_stage_name => $parquet_stage_name
);
EXECUTE IMMEDIATE
FROM './tables/deploy.sql';
FROM './table/deploy.sql';
2 changes: 1 addition & 1 deletion snowflake/objects/deploy.sql
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ CREATE GIT REPOSITORY IF NOT EXISTS recover_git_repository
Deploy our database and all its child objects.
*/
EXECUTE IMMEDIATE
FROM @recover_git_repository/branches/&{ environment }/snowflake/objects/databases/recover/deploy.sql
FROM @recover_git_repository/branches/&{ environment }/snowflake/objects/database/recover/deploy.sql
USING (
environment => $safe_environment_identifier,
git_branch => '&{ environment }'
Expand Down

0 comments on commit a2fb77c

Please sign in to comment.