diff --git a/app/models/album.rb b/app/models/album.rb index 05b8202..7481441 100644 --- a/app/models/album.rb +++ b/app/models/album.rb @@ -12,6 +12,7 @@ class Album field :cover_path #can refact field :tag_names field :uid, type: String + field :rss2_id, type: String # has_and_belongs_to_many :tags, :class_name => "GalleryTag" has_many :album_images, :autosave => true, :dependent => :destroy diff --git a/app/models/album_image.rb b/app/models/album_image.rb index fcaa0b3..1cbf382 100644 --- a/app/models/album_image.rb +++ b/app/models/album_image.rb @@ -7,6 +7,7 @@ class AlbumImage field :title field :description, localize: true + field :rss2_id, type: String # has_and_belongs_to_many :tags, :class_name => "GalleryTag"