Skip to content

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

157 B
Raw Blame
defmodule Plausible.Repo.Migrations.AddUniqueIndexToApiKeys do
  use Ecto.Migration

  def change do
    create unique_index(:api_keys, :key_hash)
  end
end