fix notifications
Build & Push / Pipeline Tests (push) Failing after 1m8s
Build & Push / Build & Push Docker Image (push) Has been skipped
Test / Type Check (all packages) (push) Successful in 53s
Test / API Unit Tests (push) Failing after 52s
Test / Homepage Unit Tests (push) Successful in 46s
Test / Carplace Unit Tests (push) Successful in 43s
Test / Admin Unit Tests (push) Successful in 43s
Test / Dashboard Unit Tests (push) Successful in 46s
Test / API Integration Tests (push) Successful in 1m7s
Build & Push / Pipeline Tests (push) Failing after 1m8s
Build & Push / Build & Push Docker Image (push) Has been skipped
Test / Type Check (all packages) (push) Successful in 53s
Test / API Unit Tests (push) Failing after 52s
Test / Homepage Unit Tests (push) Successful in 46s
Test / Carplace Unit Tests (push) Successful in 43s
Test / Admin Unit Tests (push) Successful in 43s
Test / Dashboard Unit Tests (push) Successful in 46s
Test / API Integration Tests (push) Successful in 1m7s
This commit is contained in:
+27
@@ -0,0 +1,27 @@
|
||||
WITH notification_feature ("plan", "sortOrder") AS (
|
||||
VALUES
|
||||
('STARTER'::"Plan", 50),
|
||||
('GROWTH'::"Plan", 150),
|
||||
('PRO'::"Plan", 150)
|
||||
)
|
||||
INSERT INTO "plan_features" (
|
||||
"id",
|
||||
"plan",
|
||||
"label",
|
||||
"sortOrder",
|
||||
"createdAt",
|
||||
"updatedAt"
|
||||
)
|
||||
SELECT
|
||||
'plan_feature_' || lower(notification_feature."plan"::text) || '_notification_management',
|
||||
notification_feature."plan",
|
||||
'NOTIFICATION_MANAGEMENT',
|
||||
notification_feature."sortOrder",
|
||||
CURRENT_TIMESTAMP,
|
||||
CURRENT_TIMESTAMP
|
||||
FROM notification_feature
|
||||
ON CONFLICT ("id") DO UPDATE
|
||||
SET
|
||||
"label" = EXCLUDED."label",
|
||||
"sortOrder" = EXCLUDED."sortOrder",
|
||||
"updatedAt" = CURRENT_TIMESTAMP;
|
||||
Reference in New Issue
Block a user