mirror of
https://github.com/plausible/analytics.git
synced 2024-12-27 19:47:26 +03:00
Add unique index to monthly reports site id
This commit is contained in:
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
Block a user