forked from quarkusio/quarkus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust Flyway test to avoid using public schema
The public schema is gone in recent PostgreSQL versions so let's not use it anymore.
- Loading branch information
Showing
5 changed files
with
9 additions
and
8 deletions.
There are no files selected for viewing
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
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
5 changes: 3 additions & 2 deletions
5
integration-tests/flyway/src/main/resources/db/location3/V1.0.0__Quarkus.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,7 +1,8 @@ | ||
CREATE TABLE multiple_flyway_test | ||
|
||
CREATE TABLE TEST_SCHEMA.multiple_flyway_test | ||
( | ||
id INT, | ||
name VARCHAR(255) | ||
); | ||
INSERT INTO multiple_flyway_test(id, name) | ||
INSERT INTO TEST_SCHEMA.multiple_flyway_test(id, name) | ||
VALUES (1, 'Multiple flyway datasources should work seamlessly in JVM and native mode'); |
2 changes: 1 addition & 1 deletion
2
integration-tests/flyway/src/main/resources/db/location3/afterMigrate.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 @@ | ||
select count(1) from multiple_flyway_test; | ||
select count(1) from TEST_SCHEMA.multiple_flyway_test; |
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