📈 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!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
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)