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
defmodule Plausible.Repo.Migrations.AddConversationIdToHelpscoutMappings do
use Plausible
use Ecto.Migration
import Plausible.MigrationUtils
def change do
if enterprise_edition?() do
alter table(:help_scout_mappings) do
add :conversation_id, :string, null: true
modify :customer_id, :string, null: true, from: {:string, null: false}
end
create unique_index(:help_scout_mappings, [:conversation_id])
end
end
end