Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
fix share data migration to '{"overview":true}'
Francis Caod70152be387b
diff --git a/prisma/migrations/15_add_share/migration.sql b/prisma/migrations/15_add_share/migration.sqlindex 3971b54c5..89aece1ee 100644--- a/prisma/migrations/15_add_share/migration.sql+++ b/prisma/migrations/15_add_share/migration.sql@@ -2,8 +2,8 @@CREATE TABLE "share" ("share_id" UUID NOT NULL,"entity_id" UUID NOT NULL,- "share_type" INTEGER NOT NULL,"name" VARCHAR(200) NOT NULL,+ "share_type" INTEGER NOT NULL,"slug" VARCHAR(100) NOT NULL,"parameters" JSONB NOT NULL,"created_at" TIMESTAMPTZ(6) DEFAULT CURRENT_TIMESTAMP,@@ -12,9 +12,6 @@ CREATE TABLE "share" (CONSTRAINT "share_pkey" PRIMARY KEY ("share_id"));--- CreateIndex-CREATE UNIQUE INDEX "share_share_id_key" ON "share"("share_id");--- CreateIndexCREATE UNIQUE INDEX "share_slug_key" ON "share"("slug");@@ -28,7 +25,7 @@ SELECT gen_random_uuid(),name,1,share_id,- '{}'::jsonb,+ '{"overview":true}'::jsonb,now()FROM "website"WHERE share_id IS NOT NULL;diff --git a/prisma/migrations/16_boards/migration.sql b/prisma/migrations/16_boards/migration.sqlindex ef0b28dca..ad8ee1729 100644--- a/prisma/migrations/16_boards/migration.sql+++ b/prisma/migrations/16_boards/migration.sql@@ -14,9 +14,6 @@ CREATE TABLE "board" (CONSTRAINT "board_pkey" PRIMARY KEY ("board_id"));--- CreateIndex-CREATE UNIQUE INDEX "board_board_id_key" ON "board"("board_id");--- CreateIndexCREATE UNIQUE INDEX "board_slug_key" ON "board"("slug");diff --git a/prisma/migrations/17_remove_duplicate_key/migration.sql b/prisma/migrations/17_remove_duplicate_key/migration.sqlindex a49eed8f7..75f7191ea 100644--- a/prisma/migrations/17_remove_duplicate_key/migration.sql+++ b/prisma/migrations/17_remove_duplicate_key/migration.sql@@ -1,6 +1,3 @@--- DropIndex-DROP INDEX "board_board_id_key";--- DropIndexDROP INDEX "link_link_id_key";@@ -19,9 +16,6 @@ DROP INDEX "segment_segment_id_key";-- DropIndexDROP INDEX "session_session_id_key";--- DropIndex-DROP INDEX "share_share_id_key";--- DropIndexDROP INDEX "team_team_id_key";