diff --git a/priv/repo/migrations/20190618165016_add_public_sites.exs b/priv/repo/migrations/20190618165016_add_public_sites.exs index ccc641935..0950b45ff 100644 --- a/priv/repo/migrations/20190618165016_add_public_sites.exs +++ b/priv/repo/migrations/20190618165016_add_public_sites.exs @@ -1,12 +1,9 @@ defmodule Plausible.Repo.Migrations.AddPublicSites do use Ecto.Migration - @host Application.get_env(:plausible, :url, :host) def change do alter table(:sites) do add :public, :boolean, null: false, default: false end - - execute "update sites set public=true where domain='#{@host}'" end end