mirror of
https://github.com/plausible/analytics.git
synced 2024-11-30 00:58:54 +03:00
17 lines
304 B
Elixir
17 lines
304 B
Elixir
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
|