Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oppgrader postgres #120

Merged
merged 2 commits into from
Jul 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .nais/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ db-tier: db-f1-micro
memory-limit: 3000Mi
memory-requests: 1000Mi
unleash-environment: development
postgres-version: POSTGRES_15
2 changes: 1 addition & 1 deletion .nais/nais.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ spec:
leaderElection: true
gcp:
sqlInstances:
- type: POSTGRES_11
- type: {{postgres-version}}
tier: {{db-tier}}
databases:
- name: tiltak-refusjon
Expand Down
1 change: 1 addition & 0 deletions .nais/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ db-tier: db-custom-2-7680
memory-limit: 6000Mi
memory-requests: 4000Mi
unleash-environment: production
postgres-version: POSTGRES_11
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CREATE INDEX inntektslinje_innteksgrunnlag ON inntektslinje (inntektsgrunnlag_id);