Skip to content

Commit

Permalink
Add some info on creating database migrations (#483)
Browse files Browse the repository at this point in the history
  • Loading branch information
MelissaAutumn authored Jun 13, 2024
1 parent a68bfd1 commit 46ddefc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions backend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ After this you can run tests with:
cd backend && python -m pytest
```

## Database Migrations

To generate a database migration, bash into a running backend container and run:

```bash
alembic revision -m "create ... table"
```

## Commands

Backend has a light selection of cli commands available to be run inside a container.
Expand Down

0 comments on commit 46ddefc

Please sign in to comment.