Add unique index to monthly reports site id

pull/21/head
Uku Taht 7 years ago
parent c6021cfdb5
commit 4b29735c0c

@ -0,0 +1,8 @@
defmodule Plausible.Repo.Migrations.AddUniqueIndexToEmailReports do
use Ecto.Migration
use Plausible.Repo
def change do
create unique_index(:monthly_reports, :site_id)
end
end
Loading…
Cancel
Save