Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.
Merged
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
8 changes: 8 additions & 0 deletions alembic/README → alembic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ The following steps should be followed in the Python environment configured for

1. Make sure the environment variables with the database connection details are loaded into the environment. If you are using Azure instance, you will additionally need to make sure it's using the same environment variables to be connected to the database on Azure, as that's in the current state and does not require changes, but to make sure about that, we need to do the next step check.

These are the variables that you need to change:
- `POSTGRES_USERNAME`
- `POSTGRES_PASSWORD`
- `POSTGRES_HOST`
- `POSTGRES_PORT`
- `POSTGRES_DB`

2. As an initial check, make sure the database is up to date with the head of changes. (If it is not, this step tries to run the migration one by one):

```sh
Expand All @@ -29,3 +36,4 @@ The following steps should be followed in the Python environment configured for
```sh
alembic upgrade head
```

Loading