gallery/app/models/album_color.rb

9 lines
226 B
Ruby
Raw Permalink Normal View History

class AlbumColor
include Mongoid::Document
include Mongoid::Timestamps
field :color, type: String
2021-04-04 05:03:24 +00:00
field :album_card_background_color, type: String
field :album_card_text_color, type: String
belongs_to :album
end