Skip to content

Commit

Permalink
fix(liquibase): change schema name from "PUBLIC" to "public" for Snow…
Browse files Browse the repository at this point in the history
…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
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
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
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)
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)
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
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()
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
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
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;

0 comments on commit 1463b27

Please sign in to comment.