Skip to content

Commit

Permalink
Lagt til hikari i application-prod.yml #deploy-levende-arbeidsforhold…
Browse files Browse the repository at this point in the history
…-ansettelse
  • Loading branch information
Andrea-Devold-Fjeld committed Jul 23, 2024
1 parent 5d0d8a5 commit 287b9a1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ spring:
datasource:
url: jdbc:postgresql://${NAIS_DATABASE_TESTNAV_LEVENDE_ARBEIDSFORHOLD_ANSETTELSE_LEVENDE_ARBEIDSFORHOLD_DB_HOST}:${NAIS_DATABASE_TESTNAV_LEVENDE_ARBEIDSFORHOLD_ANSETTELSE_LEVENDE_ARBEIDSFORHOLD_DB_PORT}/${NAIS_DATABASE_TESTNAV_LEVENDE_ARBEIDSFORHOLD_ANSETTELSE_LEVENDE_ARBEIDSFORHOLD_DB_DATABASE}?user=${NAIS_DATABASE_TESTNAV_LEVENDE_ARBEIDSFORHOLD_ANSETTELSE_LEVENDE_ARBEIDSFORHOLD_DB_USERNAME}&password=${NAIS_DATABASE_TESTNAV_LEVENDE_ARBEIDSFORHOLD_ANSETTELSE_LEVENDE_ARBEIDSFORHOLD_DB_PASSWORD}
driverClassName: org.postgresql.Driver
hikari:
maximum-pool-size: 3
minimum-idle: 0
jpa:
database: POSTGRESQL
properties:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/*
CREATE TABLE jobb_parameter (
NAVN VARCHAR(255) NOT NULL PRIMARY KEY ,
TEKST VARCHAR(255) NOT NULL,
Expand All @@ -8,4 +9,6 @@ create table verdier (
verdi_navn varchar(255) ,
verdi_verdi varchar(255) ,
foreign key (verdi_navn) references jobb_parameter(NAVN)
)
)
*/

0 comments on commit 287b9a1

Please sign in to comment.