-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #176 from liquibase/release_fix
After Release Fix
- Loading branch information
Showing
11 changed files
with
88 additions
and
1 deletion.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
src/main/resources/liquibase/harness/change/expectedSql/edb/10/createFunction.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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
ALTER SESSION SET SEARCH_PATH=public | ||
CREATE OR REPLACE FUNCTION public.test_function() | ||
RETURNS trigger | ||
AS $$ | ||
BEGIN | ||
RAISE NOTICE 'Test function created' | ||
RETURN NEW | ||
END | ||
$$ | ||
LANGUAGE plpgsql |
11 changes: 11 additions & 0 deletions
11
src/main/resources/liquibase/harness/change/expectedSql/edb/10/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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
ALTER SESSION SET SEARCH_PATH=public | ||
CREATE OR REPLACE FUNCTION public.test_function() | ||
RETURNS trigger | ||
AS $$ | ||
BEGIN | ||
RAISE NOTICE 'Test function created' | ||
RETURN NEW | ||
END | ||
$$ | ||
LANGUAGE plpgsql | ||
DROP FUNCTION public.test_function |
14 changes: 14 additions & 0 deletions
14
src/main/resources/liquibase/harness/change/expectedSql/edb/10/dropTrigger.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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
CREATE OR REPLACE FUNCTION test_function() | ||
RETURNS trigger | ||
AS $$ | ||
BEGIN | ||
RAISE NOTICE 'Test trigger function created' | ||
RETURN NEW | ||
END | ||
$$ | ||
LANGUAGE plpgsql | ||
CREATE TRIGGER test_trigger | ||
BEFORE INSERT ON public.posts | ||
FOR EACH ROW EXECUTE PROCEDURE test_function() | ||
ALTER SESSION SET SEARCH_PATH=public | ||
DROP TRIGGER test_trigger ON public.posts |
10 changes: 10 additions & 0 deletions
10
src/main/resources/liquibase/harness/change/expectedSql/edb/9.5/createFunction.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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
ALTER SESSION SET SEARCH_PATH=public | ||
CREATE OR REPLACE FUNCTION public.test_function() | ||
RETURNS trigger | ||
AS $$ | ||
BEGIN | ||
RAISE NOTICE 'Test function created' | ||
RETURN NEW | ||
END | ||
$$ | ||
LANGUAGE plpgsql |
1 change: 1 addition & 0 deletions
1
src/main/resources/liquibase/harness/change/expectedSql/edb/9.5/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,3 +1,4 @@ | ||
ALTER SESSION SET SEARCH_PATH=public | ||
CREATE OR REPLACE FUNCTION public.test_function() | ||
RETURNS trigger | ||
AS $$ | ||
|
14 changes: 14 additions & 0 deletions
14
src/main/resources/liquibase/harness/change/expectedSql/edb/9.5/dropTrigger.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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
CREATE OR REPLACE FUNCTION test_function() | ||
RETURNS trigger | ||
AS $$ | ||
BEGIN | ||
RAISE NOTICE 'Test trigger function created' | ||
RETURN NEW | ||
END | ||
$$ | ||
LANGUAGE plpgsql | ||
CREATE TRIGGER test_trigger | ||
BEFORE INSERT ON public.posts | ||
FOR EACH ROW EXECUTE PROCEDURE test_function() | ||
ALTER SESSION SET SEARCH_PATH=public | ||
DROP TRIGGER test_trigger ON public.posts |
10 changes: 10 additions & 0 deletions
10
src/main/resources/liquibase/harness/change/expectedSql/edb/9.6/createFunction.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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
ALTER SESSION SET SEARCH_PATH=public | ||
CREATE OR REPLACE FUNCTION public.test_function() | ||
RETURNS trigger | ||
AS $$ | ||
BEGIN | ||
RAISE NOTICE 'Test function created' | ||
RETURN NEW | ||
END | ||
$$ | ||
LANGUAGE plpgsql |
1 change: 1 addition & 0 deletions
1
src/main/resources/liquibase/harness/change/expectedSql/edb/9.6/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,3 +1,4 @@ | ||
ALTER SESSION SET SEARCH_PATH=public | ||
CREATE OR REPLACE FUNCTION public.test_function() | ||
RETURNS trigger | ||
AS $$ | ||
|
14 changes: 14 additions & 0 deletions
14
src/main/resources/liquibase/harness/change/expectedSql/edb/9.6/dropTrigger.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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
CREATE OR REPLACE FUNCTION test_function() | ||
RETURNS trigger | ||
AS $$ | ||
BEGIN | ||
RAISE NOTICE 'Test trigger function created' | ||
RETURN NEW | ||
END | ||
$$ | ||
LANGUAGE plpgsql | ||
CREATE TRIGGER test_trigger | ||
BEFORE INSERT ON public.posts | ||
FOR EACH ROW EXECUTE PROCEDURE test_function() | ||
ALTER SESSION SET SEARCH_PATH=public | ||
DROP TRIGGER test_trigger ON public.posts |
2 changes: 2 additions & 0 deletions
2
src/main/resources/liquibase/harness/change/expectedSql/edb/dropCheckConstraint.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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ALTER TABLE public.posts ADD CONSTRAINT test_check_constraint CHECK (id > 0) | ||
ALTER TABLE public.posts DROP CONSTRAINT test_check_constraint |
2 changes: 1 addition & 1 deletion
2
src/main/resources/liquibase/harness/change/expectedSql/mariadb/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 lbcat.test_sequence INCREMENT BY 1 MINVALUE 1 START WITH 1 | ||
ALTER SEQUENCE lbcat.test_sequence INCREMENT BY 10 MINVALUE 1 MAXVALUE 371717 CYCLE | ||
ALTER SEQUENCE lbcat.test_sequence INCREMENT BY 10 MINVALUE 1 MAXVALUE 371717 CACHE 371717 CYCLE |