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 the new Liquibase tests a bit
Not sure exactly what was going wrong but I had to create two users to make things work and also make sure everything was done in one go.
- Loading branch information
Showing
4 changed files
with
23 additions
and
32 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
7 changes: 5 additions & 2 deletions
7
integration-tests/liquibase/src/main/resources/db/second/initdb.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,5 @@ | ||
CREATE USER IF NOT EXISTS usr PASSWORD 'pass' ADMIN; | ||
GRANT ALL ON SCHEMA PUBLIC TO usr; | ||
CREATE USER IF NOT EXISTS admin PASSWORD 'pass' ADMIN; | ||
GRANT ALL ON SCHEMA PUBLIC TO admin; | ||
|
||
CREATE USER IF NOT EXISTS readonly PASSWORD 'readonly' ADMIN; | ||
GRANT SELECT ON SCHEMA PUBLIC TO readonly; |
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