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

PostgreSQL upgrade and db changes document #730

Merged
merged 3 commits into from
Oct 5, 2023
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
2 changes: 1 addition & 1 deletion docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ services:
- VE-network

vachan-db:
image: postgres:15.3
image: postgres:16.0
healthcheck:
test: [ "CMD", "pg_isready", "-q", "-d", "postgres", "-U", "postgres" ]
timeout: 45s
Expand Down
21 changes: 21 additions & 0 deletions docs/db_changes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Database Changes Log for Release
This document captures all database modifications made during each release . It will serve as a reference guide for future deployments, promoting consistency and ease of use across different setups.


## Beta.31:
### Release Date : 19-09-2023
### Commit Id :7f38ac0b5008341cd923d4cc1d769b2fee47f67a
### PR: [#715](https://github.com/Bridgeconn/vachan-api/pull/715/)
This release includes:
- db changes in commentary
- `chapter`.`verseStart` and `verseEnd` columns are removed
- new json field `reference` is added which includes `book`,`chapter`,`verseNumber`,`bookEnd`,`chapterEnd` and `verseEnd`
- Actions performed
- Delete all tables of commentary using `DELETE COMMENTARY` API
- Delete all commentary resources using `DELETE RESOURCE` API
- Add commentary resources using `POST RESOURCE` API
- Upload commentary data(with changed reference structure) using `POST COMMENTARY` API

### --------------------------------------------------------------------------------------------------------------------------------------------


Loading