mirror of
https://github.com/plausible/analytics.git
synced 2024-12-19 07:31:50 +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
|