fix migration
Build & Push / Pipeline Tests (push) Successful in 1m50s
Test / Type Check (all packages) (push) Successful in 52s
Build & Push / Build & Push Docker Image (push) Failing after 3m39s
Test / API Unit Tests (push) Successful in 1m10s
Test / Homepage Unit Tests (push) Successful in 46s
Test / Carplace Unit Tests (push) Successful in 42s
Test / Admin Unit Tests (push) Successful in 45s
Test / Dashboard Unit Tests (push) Successful in 43s
Test / API Integration Tests (push) Successful in 1m8s

This commit is contained in:
root
2026-08-04 01:09:44 -04:00
parent 149806a773
commit 5429f582f5
@@ -19,13 +19,13 @@ SET
"amount" = EXCLUDED."amount",
"updatedAt" = EXCLUDED."updatedAt";
INSERT INTO "plan_features" ("id", "plan", "label", "sortOrder")
INSERT INTO "plan_features" ("id", "plan", "label", "sortOrder", "createdAt", "updatedAt")
VALUES
('plf_enterprise_1', 'ENTERPRISE', '150+ vehicles', 10),
('plf_enterprise_2', 'ENTERPRISE', 'Unlimited user accounts', 20),
('plf_enterprise_3', 'ENTERPRISE', 'Advanced reports', 30),
('plf_enterprise_4', 'ENTERPRISE', 'API access', 40),
('plf_enterprise_5', 'ENTERPRISE', 'Dedicated support', 50)
('plf_enterprise_1', 'ENTERPRISE', '150+ vehicles', 10, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
('plf_enterprise_2', 'ENTERPRISE', 'Unlimited user accounts', 20, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
('plf_enterprise_3', 'ENTERPRISE', 'Advanced reports', 30, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
('plf_enterprise_4', 'ENTERPRISE', 'API access', 40, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP),
('plf_enterprise_5', 'ENTERPRISE', 'Dedicated support', 50, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP)
ON CONFLICT ("id") DO UPDATE
SET
"label" = EXCLUDED."label",