add workflow
Some checks failed
Deploy Amap / deploy (push) Has been cancelled

This commit is contained in:
2026-02-19 23:38:26 +01:00
parent 7574626e52
commit 242e29c8a6
46 changed files with 536 additions and 30 deletions

View File

@@ -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.