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!

500 B
Raw Blame
const { queriesRunner, dbName } = require('./setup')

const queries = [
  // Added 'host' column
  `ALTER TABLE ${dbName}.analytics ADD COLUMN IF NOT EXISTS host Nullable(String) AFTER pid`,

  `ALTER TABLE ${dbName}.customEV ADD COLUMN IF NOT EXISTS host Nullable(String) AFTER pid`,

  `ALTER TABLE ${dbName}.errors ADD COLUMN IF NOT EXISTS host Nullable(String) AFTER pid`,

  `ALTER TABLE ${dbName}.performance ADD COLUMN IF NOT EXISTS host Nullable(String) AFTER pid`,
]

queriesRunner(queries)