bf9e827f85
Deploy backend, frontend, PostgreSQL, and Redis on Kubernetes with optional Ingress/TLS, SQL migration hooks, and public registry exposure at repo.3fase.ir. Co-authored-by: Cursor <cursoragent@cursor.com>
11 lines
205 B
SQL
11 lines
205 B
SQL
DO $$
|
|
BEGIN
|
|
IF EXISTS (
|
|
SELECT 1
|
|
FROM pg_type
|
|
WHERE typname = 'deployments_status_enum'
|
|
) THEN
|
|
ALTER TYPE deployments_status_enum ADD VALUE IF NOT EXISTS 'cancelled';
|
|
END IF;
|
|
END $$;
|