Add default values for language in Article and Translation
This commit is contained in:
@ -9,7 +9,7 @@ defmodule Outlook.Articles.Article do
|
||||
schema "articles" do
|
||||
field :content, InternalTree
|
||||
field :date, :utc_datetime
|
||||
field :language, :string
|
||||
field :language, :string, default: "EN"
|
||||
field :title, :string
|
||||
field :url, :string
|
||||
belongs_to :author, Author
|
||||
|
||||
Reference in New Issue
Block a user