„priv/repo/migrations/20230703123608_add_default_wiki_channel_setting.exs“ hinzufügen

This commit is contained in:
inhji 2023-07-03 13:51:39 +02:00
parent b2f8a77960
commit e25c134ced

View file

@ -0,0 +1,9 @@
defmodule Chiya.Repo.Migrations.AddWikiChannelSetting do
use Ecto.Migration
def change do
alter table(:settings) do
add :wiki_channel_id, references(:channels, on_delete: :nothing)
end
end
end