You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: db/README.md
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,16 @@
1
-
# PostgreSQL Database Migration Steps
1
+
# PostgreSQL Database Major Version Upgrade Steps
2
2
3
3
This guide outlines the steps to migrate a database to PostgreSQL v17 in an OpenShift environment. It can be reused for upgrading to other versions.
4
4
5
+
## Pre-request
6
+
- Create a pr branch before upgrading, update the db/openshift.deployment.yml for DB_VERSION to next version (e.g., 18)
7
+
- Check out the pr branch in local and use the branch terminal for execution steps
8
+
9
+
## Notes
10
+
**Whenever we need to do a database migration, run the scripts first before merge the upgradation pr, as it will use the new PVC name for the new database.**
11
+
12
+
## Steps
13
+
5
14
### 1. Set the Target Environment
6
15
7
16
Set the target to a PR number (e.g., `819`), `test`, or `prod`:
@@ -70,7 +79,7 @@ In non-prod environments, add a new FOM and verify project counts again.
Whenever we need to do a database migration, run the scripts first before merge the upgradation pr, as it will use the new PVC name for the new database.
0 commit comments