„priv/repo/migrations/20230703123608_add_default_wiki_channel_setting.exs“ hinzufügen
This commit is contained in:
parent
b2f8a77960
commit
e25c134ced
1 changed files with 9 additions and 0 deletions
|
@ -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
|
Loading…
Reference in a new issue