-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(liquibase): change schema name from "PUBLIC" to "public" for Snow…
…flake database The Liquibase changes were made to update the schema name from "PUBLIC" to "public" in the expected SQL files for Snowflake database. This change improves consistency and aligns with the naming conventions used in the database.
- Loading branch information
jandroav
committed
Feb 1, 2024
1 parent
24badab
commit 1463b27
Showing
8 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
src/main/resources/liquibase/harness/change/expectedSql/snowflake/alterSequence.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
CREATE SEQUENCE "PUBLIC".test_sequence START WITH 1 INCREMENT BY 1 | ||
ALTER SEQUENCE "PUBLIC".test_sequence INCREMENT BY 10 | ||
CREATE SEQUENCE "public".test_sequence START WITH 1 INCREMENT BY 1 | ||
ALTER SEQUENCE "public".test_sequence INCREMENT BY 10 |
2 changes: 1 addition & 1 deletion
2
src/main/resources/liquibase/harness/change/expectedSql/snowflake/createPackage.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
CREATE TABLE "PUBLIC".test_table_package (test_id INT NOT NULL) | ||
CREATE TABLE "public".test_table_package (test_id INT NOT NULL) |
2 changes: 1 addition & 1 deletion
2
src/main/resources/liquibase/harness/change/expectedSql/snowflake/createPackageBody.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
CREATE TABLE "PUBLIC".test_table_package_body (test_id INT NOT NULL) | ||
CREATE TABLE "public".test_table_package_body (test_id INT NOT NULL) |
2 changes: 1 addition & 1 deletion
2
src/main/resources/liquibase/harness/change/expectedSql/snowflake/createSequence.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
CREATE SEQUENCE "PUBLIC".test_sequence START WITH 1 INCREMENT BY 5 | ||
CREATE SEQUENCE "public".test_sequence START WITH 1 INCREMENT BY 5 |
2 changes: 1 addition & 1 deletion
2
src/main/resources/liquibase/harness/change/expectedSql/snowflake/dropFunction.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
CREATE OR REPLACE FUNCTION test_function() | ||
returns float | ||
as '3.141592654::FLOAT' | ||
DROP FUNCTION "PUBLIC".test_function() | ||
DROP FUNCTION "public".test_function() |
4 changes: 2 additions & 2 deletions
4
src/main/resources/liquibase/harness/change/expectedSql/snowflake/dropSequence.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
CREATE SEQUENCE "PUBLIC".test_sequence START WITH 1 INCREMENT BY 1 | ||
DROP SEQUENCE "PUBLIC".test_sequence | ||
CREATE SEQUENCE "public".test_sequence START WITH 1 INCREMENT BY 1 | ||
DROP SEQUENCE "public".test_sequence |
4 changes: 2 additions & 2 deletions
4
src/main/resources/liquibase/harness/change/expectedSql/snowflake/renameSequence.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
CREATE SEQUENCE "PUBLIC".test_sequence START WITH 1 INCREMENT BY 1 | ||
ALTER SEQUENCE "PUBLIC".test_sequence RENAME TO test_sequence_rename_test | ||
CREATE SEQUENCE "public".test_sequence START WITH 1 INCREMENT BY 1 | ||
ALTER SEQUENCE "public".test_sequence RENAME TO test_sequence_rename_test |
4 changes: 2 additions & 2 deletions
4
src/main/resources/liquibase/harness/change/expectedSql/snowflake/valueSequenceNext.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
CREATE TABLE "public".valueSequenceNextTable (test_id INT, test_column VARCHAR(50)); | ||
CREATE SEQUENCE "PUBLIC".test_sequence START WITH 30 INCREMENT BY 2; | ||
UPDATE "public".valueSequenceNextTable SET test_id = "PUBLIC".test_sequence.nextval; | ||
CREATE SEQUENCE "public".test_sequence START WITH 30 INCREMENT BY 2; | ||
UPDATE "public".valueSequenceNextTable SET test_id = "public".test_sequence.nextval; |