Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

fix(db): use correct env..

Carl-Gerhard Lindesvärd6318dc417529
diff --git a/packages/db/code-migrations/3-init-ch.ts b/packages/db/code-migrations/3-init-ch.ts
index ca12a2176..64e5146ed 100644
--- a/packages/db/code-migrations/3-init-ch.ts
+++ b/packages/db/code-migrations/3-init-ch.ts
@@ -25,7 +25,7 @@ export async function up() {
'profile_aliases_distributed',
);
- const isSelfHosting = !!process.env.SELF_HOSTING;
+ const isSelfHosting = !!process.env.SELF_HOSTED;
const isClustered = !isSelfHosting;
const isSelfHostingPostCluster =