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
Create migration adding `help_scout_mappings` table (#4395)
Adrian Gruntkowskidf5e2cba122e
diff --git a/priv/repo/migrations/20240722143005_create_helpscout_mappings.exs b/priv/repo/migrations/20240722143005_create_helpscout_mappings.exsnew file mode 100644index 0000000000..c9f00ad659--- /dev/null+++ b/priv/repo/migrations/20240722143005_create_helpscout_mappings.exs@@ -0,0 +1,17 @@+defmodule Plausible.Repo.Migrations.CreateHelpscoutMappings do+ use Plausible+ use Ecto.Migration++ def change do+ if ee?() do+ create table(:help_scout_mappings) do+ add :customer_id, :string, null: false+ add :email, :string, null: false++ timestamps()+ end++ create unique_index(:help_scout_mappings, [:customer_id])+ end+ end+end