class AddGalleryTitleToPolyphotos

Public Instance Methods

down() click to toggle source
# File lib/generators/polygallery/install/templates/add_gallery_title.rb, line 6
def down
  remove_column :polygallery_photos, :gallery_title
end
up() click to toggle source
# File lib/generators/polygallery/install/templates/add_gallery_title.rb, line 2
def up
  add_column :polygallery_photos, :gallery_title, :string
  add_column :polygallery_photos, :gallery_title, :string
end