feat: add smtp settings
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c4135308e6
commit
a4f3aa5d6f
23 changed files with 2424 additions and 152 deletions
|
|
@ -0,0 +1,18 @@
|
|||
defmodule Mv.Repo.Migrations.AddMailFromToSettings do
|
||||
@moduledoc "Adds smtp_from_name and smtp_from_email attributes to the settings table."
|
||||
use Ecto.Migration
|
||||
|
||||
def up do
|
||||
alter table(:settings) do
|
||||
add :smtp_from_name, :text
|
||||
add :smtp_from_email, :text
|
||||
end
|
||||
end
|
||||
|
||||
def down do
|
||||
alter table(:settings) do
|
||||
remove :smtp_from_email
|
||||
remove :smtp_from_name
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue