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.PendingStatsDeletions do
use Ecto.Migration
def change do
create table(:pending_stats_deletions) do
# site id may not in postgres anymore, so not a reference
add :site_id, :integer, null: false
add :reason, :text, null: false
timestamps()
end
create index(:pending_stats_deletions, [:reason])
end
end