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

[AB#43689] Upgrade database version to Postgres 16 #306

Merged
merged 1 commit into from
May 14, 2024

Conversation

yasithA
Copy link
Member

@yasithA yasithA commented May 14, 2024

Pull Request

Prerequisites

  • The PR is targeting the right branch (dev for features and master for
    releases)
  • potential release notes to the PR description added
  • potential testing notes to the PR description added
  • appropriate labels for the PR applied

Description

This PR upgrades the repo used in Mosaic Media Template to Postgres 16.

Release Notes:
We now support Postgres v16.2 as the database version for Media Template. Please follow the below steps to upgrade your existing local environment to the new version.

  1. Run yarn run env-cmd --silent -f .env ts-node scripts/create-data-dump.ts from Media Template root.
  2. Run yarn infra:down
  3. Delete Docker volume related to Postgres (docker volume rm infra_postgres_data)
  4. Run yarn infra:up --build
  5. Run yarn db:reset
  6. Run yarn run env-cmd --silent -f .env ts-node scripts/import-pg-dump.ts from Media Template root.

@yasithA yasithA requested a review from EmperorRXF May 14, 2024 05:49
scripts/create-data-dump.ts Dismissed Show dismissed Hide dismissed
scripts/create-data-dump.ts Dismissed Show dismissed Hide dismissed
scripts/import-pg-dump.ts Dismissed Show dismissed Hide dismissed
scripts/import-pg-dump.ts Dismissed Show dismissed Hide dismissed
scripts/import-pg-dump.ts Dismissed Show dismissed Hide dismissed
scripts/import-pg-dump.ts Dismissed Show dismissed Hide dismissed
@EmperorRXF EmperorRXF added the release-notes Add into the PR description a paragraph "Release Notes" with a description and/or instructions. label May 14, 2024
Copy link
Member

@EmperorRXF EmperorRXF left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's write a para that we can include in the release notes as well?

@yasithA yasithA merged commit 24b3717 into dev May 14, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes Add into the PR description a paragraph "Release Notes" with a description and/or instructions.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants