Adds migration for banner photo

This commit is contained in:
Gopesh Tulsyan 2014-06-20 18:41:08 +05:30
parent 89df9a41d3
commit e731a6b58f
3 changed files with 24 additions and 6 deletions

View file

@ -0,0 +1,8 @@
class AddBannerPhotoToConference < ActiveRecord::Migration
def change
add_column :conferences, :banner_photo_file_name, :string
add_column :conferences, :banner_photo_content_type, :string
add_column :conferences, :banner_photo_file_size, :integer
add_column :conferences, :banner_photo_updated_at, :datetime
end
end