feat(FN-004): merge fusion/fn-004
This commit is contained in:
@@ -59,6 +59,34 @@ pnpm dev # Runs frontend and backend in parallel
|
||||
docker compose up --build -d
|
||||
```
|
||||
|
||||
### Alembic Migrations
|
||||
|
||||
Generate a new migration after modifying models:
|
||||
```bash
|
||||
cd apps/api
|
||||
.venv/bin/alembic revision --autogenerate -m "description"
|
||||
```
|
||||
|
||||
Apply migrations:
|
||||
```bash
|
||||
cd apps/api
|
||||
.venv/bin/alembic upgrade head
|
||||
```
|
||||
|
||||
Downgrade one revision:
|
||||
```bash
|
||||
cd apps/api
|
||||
.venv/bin/alembic downgrade -1
|
||||
```
|
||||
|
||||
Or use the Makefile targets:
|
||||
```bash
|
||||
cd apps/api
|
||||
make revision msg="description"
|
||||
make upgrade
|
||||
make downgrade
|
||||
```
|
||||
|
||||
## Testing
|
||||
|
||||
### Frontend
|
||||
|
||||
Reference in New Issue
Block a user