Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
TypeScript analyticsanalytics-dashboardclickhouseelixirgoogle-analyticsmarketingopen-source-analyticsphoenixplausible-analyticspostgresqlprivacyprivacy-friendlyself-hostedsimple-analyticsstatisticstailwindcssweb-analyticswebsite-analyticswebsite-statswebsite-tracking
Fixup migrations (#5312)
hq1ea364bb477dc
diff --git a/priv/repo/migrations/20240708120453_create_help_scout_credentials.exs b/priv/repo/migrations/20240708120453_create_help_scout_credentials.exsindex 6366aa3d03..c9426df801 100644--- a/priv/repo/migrations/20240708120453_create_help_scout_credentials.exs+++ b/priv/repo/migrations/20240708120453_create_help_scout_credentials.exs@@ -2,8 +2,10 @@ defmodule Plausible.Repo.Migrations.CreateHelpscoutCredentials douse Plausibleuse Ecto.Migration+ import Plausible.MigrationUtils+def change do- if ee?() do+ if enterprise_edition?() docreate table(:help_scout_credentials) doadd :access_token, :binary, null: falsediff --git a/priv/repo/migrations/20240722143005_create_helpscout_mappings.exs b/priv/repo/migrations/20240722143005_create_helpscout_mappings.exsindex c9f00ad659..88e6728662 100644--- a/priv/repo/migrations/20240722143005_create_helpscout_mappings.exs+++ b/priv/repo/migrations/20240722143005_create_helpscout_mappings.exs@@ -2,8 +2,10 @@ defmodule Plausible.Repo.Migrations.CreateHelpscoutMappings douse Plausibleuse Ecto.Migration+ import Plausible.MigrationUtils+def change do- if ee?() do+ if enterprise_edition?() docreate table(:help_scout_mappings) doadd :customer_id, :string, null: falseadd :email, :string, null: false