Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

202 B
Raw Blame
defmodule Plausible.Repo.Migrations.AddThemePrefToUsers do
  use Ecto.Migration

  def change do
    alter table(:users) do
      add_if_not_exists(:theme, :string, default: "system")
    end
  end
end