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 migrations

Blue Mouseeec2d40442a2
diff --git a/migrations/clickhouse/2023_03_11.js b/migrations/clickhouse/2023_03_20.js
similarity index 100%
rename from migrations/clickhouse/2023_03_11.js
rename to migrations/clickhouse/2023_03_20.js
diff --git a/migrations/mysql/2023_03_20.sql b/migrations/mysql/2023_03_20.sql
new file mode 100644
index 000000000..1ad18f76c
--- /dev/null
+++ b/migrations/mysql/2023_03_20.sql
@@ -0,0 +1,4 @@
+alter table project add column `isAnalyticsProject` tinyint NOT NULL DEFAULT '1' AFTER adminId;
+alter table project add column `isCaptchaProject` tinyint NOT NULL DEFAULT '0' AFTER isAnalyticsProject;
+alter table project add column `isCaptchaEnabled` tinyint NOT NULL DEFAULT '0' AFTER isCaptchaProject;
+alter table project add column `captchaSecretKey` varchar(50) DEFAULT NULL AFTER isCaptchaEnabled;