Add unique index to monthly reports site id
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…
Reference in New Issue