db:upgrade
Apply pending migrations for all features or a single one, without generating new scripts.
Usage
splent db:upgrade [<feature_name>]
Examples
Upgrade all features:
splent db:upgrade
Upgrade a single feature:
splent db:upgrade splent_feature_auth
Description
Runs alembic upgrade head for each feature that has a migrations/ directory and pending migrations. After applying, updates the splent_migrations tracking table.
Features without a models module (e.g. config-only features like admin or phpmyadmin) are silently skipped – no error is shown.
Use db:upgrade to apply existing migration scripts (e.g. after pulling new code or after db:migrate has generated new files). Use db:migrate to generate new scripts from model changes — it does not apply them automatically.
Requirements
SPLENT_APPmust be set.- The database must be reachable.
- Migration scripts must already exist in
migrations/versions/.