Add miscellaneous stuff

This commit is contained in:
Thelonius Kort
2023-03-15 10:56:30 +01:00
parent 61253f301a
commit 43f3ea193f
5 changed files with 10 additions and 3 deletions

View File

@ -9,7 +9,7 @@ defmodule Outlook.Authors.Author do
field :homepage_name, :string
field :homepage_url, :string
field :name, :string
has_many :articles, Article
has_many :articles, Article, on_delete: :delete_all
timestamps()
end