chiya/priv/repo/migrations/20230729160000_add_bookmark_channel_setting.exs

9 lines
221 B
Elixir
Raw Normal View History

defmodule Chiya.Repo.Migrations.AddBookmarkChannelSetting do
use Ecto.Migration
def change do
alter table(:settings) do
add :bookmark_channel_id, references(:channels, on_delete: :nothing)
end
end
end