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 Mousedcfb2bfedaad
diff --git a/migrations/clickhouse/2022_12_29.js b/migrations/clickhouse/2022_12_29.js
index 88809e530..f48226e45 100644
--- a/migrations/clickhouse/2022_12_29.js
+++ b/migrations/clickhouse/2022_12_29.js
@@ -1,7 +1,7 @@
const { queriesRunner, dbName } = require('./setup')
const queries = [
- `DROP COLUMN analytics.lt`,
+ `ALTER TABLE ${dbName}.analytics DROP COLUMN lt`,
`CREATE TABLE IF NOT EXISTS ${dbName}.performance
(
pid FixedString(12),