Adds photo to venue

This commit is contained in:
Gopesh Tulsyan 2014-06-14 18:33:39 +05:30
parent b94ee7e758
commit f5c5e6a44b
6 changed files with 24 additions and 2 deletions

View file

@ -0,0 +1,8 @@
class AddPhotoToVenue < ActiveRecord::Migration
def change
add_column :venues, :photo_file_name, :string
add_column :venues, :photo_content_type, :string
add_column :venues, :photo_file_size, :integer
add_column :venues, :photo_updated_at, :datetime
end
end