diff --git a/priv/repo/migrations/20200519230108_ignore_newbies.exs b/priv/repo/migrations/20200519230108_ignore_newbies.exs new file mode 100644 index 0000000..37456f6 --- /dev/null +++ b/priv/repo/migrations/20200519230108_ignore_newbies.exs @@ -0,0 +1,9 @@ +defmodule Epoch.Repo.Migrations.IgnoreNewbies do + use Ecto.Migration + @schema_prefix "users" + def change do + alter table(:preferences, [prefix: @schema_prefix]) do + add :ignore_newbies, :boolean, default: true + end + end +end