Skip to content

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

354 B
Raw Blame
defmodule Plausible.Repo.Migrations.SsoDomainsValidationToVerificationRename do
  use Ecto.Migration

  import Plausible.MigrationUtils

  def change do
    if enterprise_edition?() do
      alter table(:sso_domains) do
        add :verified_via, :string, null: true
        add :last_verified_at, :naive_datetime, null: true
      end
    end
  end
end