- 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
|
||
|---|---|---|
| .. | ||
| app_name_validation_test.go | ||
| app_name_validation.go | ||
| app.go | ||
| auth.go | ||
| dashboard.go | ||
| handlers_test.go | ||
| handlers.go | ||
| healthcheck.go | ||
| port_validation_test.go | ||
| render_template_test.go | ||
| setup.go | ||
| tail_validation_test.go | ||
| webhook.go | ||