Skip to content

Commit

Permalink
Merge pull request #24 from epochtalk/newbie-pm-restrictions
Browse files Browse the repository at this point in the history
feat: add preference for ignoring newbies
  • Loading branch information
akinsey authored May 29, 2020
2 parents 1f11efa + d65f01f commit cf5f96d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions priv/repo/migrations/20200519230108_ignore_newbies.exs
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit cf5f96d

Please sign in to comment.