diff --git a/lib/outlook/articles/article.ex b/lib/outlook/articles/article.ex index 2dfc7ce..7e6b94e 100644 --- a/lib/outlook/articles/article.ex +++ b/lib/outlook/articles/article.ex @@ -13,7 +13,7 @@ defmodule Outlook.Articles.Article do field :title, :string field :url, :string belongs_to :author, Author - has_many :translations, Translation + has_many :translations, Translation, on_delete: :delete_all timestamps() end