Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

fix migration

Blue Mousedbf4fbf82a9a
diff --git a/backend/migrations/mysql/2026_02_22_trial_with_cc.sql b/backend/migrations/mysql/2026_02_22_trial_with_cc.sql
index eeaedfda7..135b20a6e 100644
--- a/backend/migrations/mysql/2026_02_22_trial_with_cc.sql
+++ b/backend/migrations/mysql/2026_02_22_trial_with_cc.sql
@@ -1,5 +1,7 @@
ALTER TABLE `user` MODIFY COLUMN `onboardingStep` enum('language','welcome','feature_traffic','feature_errors','feature_sessions','select_plan','create_project','setup_tracking','waiting_for_events','verify_email','completed') NOT NULL DEFAULT 'language';
+ALTER TABLE `user` MODIFY COLUMN `planCode` enum('none','free','trial','hobby','freelancer','50k','100k','200k','500k','startup','2m','enterprise','10m','15m','20m') NOT NULL DEFAULT 'none';
+
CREATE TABLE `cancellation_feedback` (
`id` varchar(36) NOT NULL,
`email` varchar(254) DEFAULT NULL,