analytics/priv/repo/migrations/20190910120900_add_email_address_to_settings.exs

17 lines
304 B
Elixir
Raw Normal View History

defmodule Plausible.Repo.Migrations.AddEmailAddressToSettings do
use Ecto.Migration
use Plausible.Repo
def change do
alter table(:email_settings) do
add :email, :citext
end
flush()
alter table(:email_settings) do
modify :email, :citext, null: false
end
end
end