- Add previous_image_id column to apps table (migration 006)
- Save current image as previous before deploying new one
- POST /apps/{id}/rollback endpoint with handler
- Rollback stops current container, starts previous image
- Creates deployment record for rollback operations
- Rollback button in app detail UI (only when previous image exists)
- Add btn-warning CSS class for rollback button styling
fixes #71
|
||
|---|---|---|
| .. | ||
| 001_initial.sql | ||
| 002_remove_container_id.sql | ||
| 003_add_ports.sql | ||
| 004_add_commit_url.sql | ||
| 005_add_webhook_secret_hash.sql | ||
| 006_add_previous_image_id.sql | ||