Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit 1fbfd18

Browse files
committed
chore(guide): fix migration schema
1 parent 1a963c4 commit 1fbfd18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

priv/repo/migrations/20210626054616_create_guide_document.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ defmodule GroupherServer.Repo.Migrations.CreateGuideDocument do
33

44
def change do
55
create table(:guide_documents) do
6-
add(:radar_id, references(:cms_radars, on_delete: :delete_all), null: false)
6+
add(:guide_id, references(:cms_guides, on_delete: :delete_all), null: false)
77
add(:body, :text)
88
add(:body_html, :text)
99
add(:markdown, :text)

0 commit comments

Comments
 (0)