Skip to content

armgit / umami

Public Imported from GitHub
0

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.

Fix MySQL migration 4.

Maxime-J5fc3d81c39a2
diff --git a/db/mysql/migrations/04_team_redesign/migration.sql b/db/mysql/migrations/04_team_redesign/migration.sql
index 57f8dc930..bf64d45f2 100644
--- a/db/mysql/migrations/04_team_redesign/migration.sql
+++ b/db/mysql/migrations/04_team_redesign/migration.sql
@@ -17,7 +17,7 @@ ALTER TABLE `website` ADD COLUMN `created_by` VARCHAR(36) NULL,
ADD COLUMN `team_id` VARCHAR(36) NULL;
-- MigrateData
-UPDATE "website" SET created_by = user_id WHERE team_id IS NULL;
+UPDATE `website` SET created_by = user_id WHERE team_id IS NULL;
-- DropTable
DROP TABLE `team_website`;