upaas/internal/database/migrations
user 2be6a748b7 feat: deployment rollback to previous image
- 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
2026-02-16 00:23:11 -08:00
..
001_initial.sql Initial commit with server startup infrastructure 2025-12-29 15:46:03 +07:00
002_remove_container_id.sql Use ULID for app IDs and Docker label for container lookup 2025-12-29 16:06:40 +07:00
003_add_ports.sql Add TCP/UDP port mapping support 2025-12-30 12:11:57 +07:00
004_add_commit_url.sql Add commit URL to Slack notifications with link and backtick formatting 2025-12-31 16:29:22 -08:00
005_add_webhook_secret_hash.sql fix: use hashed webhook secrets for constant-time comparison 2026-02-15 14:06:53 -08:00
006_add_previous_image_id.sql feat: deployment rollback to previous image 2026-02-16 00:23:11 -08:00