Sha256: 64944bb2bc081d3b8e32f06efe71948610f3e35408dd537f70a2b70f11e95f05

Contents?: true

Size: 183 Bytes

Versions: 5

Compression:

Stored size: 183 Bytes

Contents

class RenameEcmPicturesPicturesPictureGalleryIdToGalleryId < ActiveRecord::Migration
  def change
    rename_column :ecm_pictures_pictures, :picture_gallery_id, :gallery_id
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ecm_pictures2-5.0.1 db/migrate/20160626143414_rename_ecm_pictures_pictures_picture_gallery_id_to_gallery_id.rb
ecm_pictures2-5.0.0 db/migrate/20160626143414_rename_ecm_pictures_pictures_picture_gallery_id_to_gallery_id.rb
ecm_pictures2-4.0.1 db/migrate/20160626143414_rename_ecm_pictures_pictures_picture_gallery_id_to_gallery_id.rb
ecm_pictures2-3.0.1 db/migrate/20160626143414_rename_ecm_pictures_pictures_picture_gallery_id_to_gallery_id.rb
ecm_pictures2-3.0.0 db/migrate/20160626143414_rename_ecm_pictures_pictures_picture_gallery_id_to_gallery_id.rb