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!

added migration

Blue Mousec4115a12d628
diff --git a/migrations/mysql/2023_02_16.sql b/migrations/mysql/2023_02_16.sql
new file mode 100644
index 000000000..036d42c19
--- /dev/null
+++ b/migrations/mysql/2023_02_16.sql
@@ -0,0 +1,4 @@
+alter table user modify column `planCode` enum('none','free','trial','hobby','freelancer','startup','enterprise') not null default 'trial' after roles;
+alter table user add column trialEndDate date default null after timeFormat;
+alter table user add column cancellationEffectiveDate date default null after trialEndDate;
+alter table user add column trialReminderSent tinyint NOT NULL DEFAULT '0' after cancellationEffectiveDate;