provide defaults for gallery description and spoiler warnings

This commit is contained in:
byte[] 2019-12-22 10:04:04 -05:00
parent d6592efa0e
commit c92fd79868

View file

@ -20,8 +20,8 @@ defmodule Philomena.Galleries.Gallery do
has_many :subscribers, through: [:subscriptions, :user]
field :title, :string
field :spoiler_warning, :string
field :description, :string
field :spoiler_warning, :string, default: ""
field :description, :string, default: ""
field :image_count, :integer
field :order_position_asc, :boolean