Skip to content

Commit cf5f96d

Browse files
authored
Merge pull request #24 from epochtalk/newbie-pm-restrictions
feat: add preference for ignoring newbies
2 parents 1f11efa + d65f01f commit cf5f96d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
defmodule Epoch.Repo.Migrations.IgnoreNewbies do
2+
use Ecto.Migration
3+
@schema_prefix "users"
4+
def change do
5+
alter table(:preferences, [prefix: @schema_prefix]) do
6+
add :ignore_newbies, :boolean, default: true
7+
end
8+
end
9+
end

0 commit comments

Comments
 (0)