diff --git a/priv/repo/migrations/20230406110926_associate-goals-with-sites.exs b/priv/repo/migrations/20230406110926_associate-goals-with-sites.exs index b37b90d9d..f26f663d4 100644 --- a/priv/repo/migrations/20230406110926_associate-goals-with-sites.exs +++ b/priv/repo/migrations/20230406110926_associate-goals-with-sites.exs @@ -18,9 +18,5 @@ defmodule :"Elixir.Plausible.Repo.Migrations.Associate-goals-with-sites" do SELECT s.id FROM sites s WHERE s.domain = g.domain ) """ - - alter table(:goals) do - modify :site_id, references(:sites, on_delete: :delete_all), null: false - end end end