Adds migration for banner photo
This commit is contained in:
parent
89df9a41d3
commit
e731a6b58f
3 changed files with 24 additions and 6 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue