Add item visibility toggle

This commit is contained in:
2023-12-05 23:32:07 +00:00
parent 8d8c45703d
commit f2db361702
5 changed files with 19 additions and 4 deletions

View File

@@ -0,0 +1,9 @@
defmodule Wish.Repo.Migrations.AddHiddenItem do
use Ecto.Migration
def change do
alter table(:items) do
add :visible, :boolean, default: true, null: false
end
end
end