This commit is contained in:
@@ -18,6 +18,19 @@ hatch shell
|
||||
fastapi dev src/main.py
|
||||
```
|
||||
|
||||
### Migration
|
||||
This repository use `alembic` for migrations
|
||||
|
||||
On first installation copy the `alembic.ini.example` to `alembic.ini`
|
||||
#### Create migration
|
||||
```console
|
||||
alembic revision --autogenerate -m "message"
|
||||
```
|
||||
#### Apply migration
|
||||
```console
|
||||
alembic upgrade head
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
`backend` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
|
||||
|
||||
Reference in New Issue
Block a user