chore(docs): update README to clarify alembic-upgrade command usage

This commit is contained in:
Davidson Gomes 2025-05-07 13:34:31 -03:00
parent 8722704034
commit acdfdf40ee
2 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@ init:
alembic-revision: alembic-revision:
alembic revision --autogenerate -m "$(message)" alembic revision --autogenerate -m "$(message)"
# Command to update database to latest version # Command to update database to latest version (execute existing migrations)
alembic-upgrade: alembic-upgrade:
alembic upgrade head alembic upgrade head

View File

@ -437,7 +437,7 @@ cp .env.example .env
5. Initialize the database and run migrations: 5. Initialize the database and run migrations:
```bash ```bash
make alembic-migrate message="init migrations" make alembic-upgrade
``` ```
6. Seed the database with initial data: 6. Seed the database with initial data:
@ -644,7 +644,7 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
# Database migrations # Database migrations
make init # Initialize Alembic make init # Initialize Alembic
make alembic-revision message="description" # Create new migration make alembic-revision message="description" # Create new migration
make alembic-upgrade # Update database to latest version make alembic-upgrade # Update database to latest version (use to execute existing migrations)
make alembic-downgrade # Revert latest migration make alembic-downgrade # Revert latest migration
make alembic-migrate message="description" # Create and apply migration make alembic-migrate message="description" # Create and apply migration
make alembic-reset # Reset database make alembic-reset # Reset database
@ -812,7 +812,7 @@ Authorization: Bearer your-token-jwt
x-client-id: client-uuid x-client-id: client-uuid
``` ```
## 📁 Agent Organization ## 🤖 Agent Organization
Agents can be organized into folders for better management: Agents can be organized into folders for better management: