Skip to content

Commit

Permalink
🧑‍💻 (org): Make test data available in DEV and TEST modes, automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
byte-sized-emi committed Dec 8, 2024
1 parent e23c34f commit 0af0883
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ quarkus.banner.path=banner.txt
quarkus.flyway.migrate-at-start=true
quarkus.flyway.baseline-on-migrate=true
quarkus.flyway.clean-at-start=false
%test.quarkus.flyway.locations=db/migration,db/testdata
%dev.quarkus.flyway.locations=db/migration,db/testdata
########################################
# Keycloak/auth
########################################
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
START TRANSACTION;

insert into Organization (type, id, slug, name, website, plz, city, street, number)
values
(0, 2, 'gruenes-herz-ev', 'Grünes Herz e.V.', 'https://gruenes-herz.de/', '27324', 'Schweringen', 'Am Lennestein', '110'),
Expand Down Expand Up @@ -104,5 +102,3 @@ where id = 3;
update Organization
set rootBommel_id = 23
where id = 4;

COMMIT;

0 comments on commit 0af0883

Please sign in to comment.