Skip to content

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

199 B
Raw Blame
-- CreateEnum
CREATE TYPE "Metric" AS ENUM ('sum', 'average', 'min', 'max');

-- AlterTable
ALTER TABLE "reports" ADD COLUMN     "metric" "Metric" NOT NULL DEFAULT 'sum',
ADD COLUMN     "unit" TEXT;