shift73k/priv/repo/migrations/20210306173113_add_user_default_shift_column.exs

10 lines
253 B
Elixir
Raw Permalink Normal View History

defmodule Shift73k.Repo.Migrations.AddUserDefaultShiftColumn do
use Ecto.Migration
def change do
alter table(:users) do
2022-08-14 09:16:58 -04:00
add :fave_shift_template_id, references(:shift_templates, type: :binary_id, on_delete: :nilify_all)
end
end
end