Skip to content

Commit d65f01f

Browse files
committed
feat: add preference for ignoring newbies
1 parent 1f11efa commit d65f01f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
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)