Add optional service pricing matrix and fix admin catalog save.

Users pick per-service CPU/memory/storage at deploy; admins manage unit rates and deploy defaults. PATCH sends only fields accepted by the pricing-catalog DTO.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
keyhan
2026-05-15 19:16:20 +03:30
parent bb27c90ae4
commit 055e7a7c8d
21 changed files with 1746 additions and 257 deletions
@@ -0,0 +1,4 @@
-- Per-deploy optional service resource limits (user-chosen, like application CPU/RAM/storage)
ALTER TABLE applications
ADD COLUMN IF NOT EXISTS optional_service_resources JSONB;