Adds photo to venue
This commit is contained in:
parent
b94ee7e758
commit
f5c5e6a44b
6 changed files with 24 additions and 2 deletions
8
db/migrate/20140613083115_add_photo_to_venue.rb
Normal file
8
db/migrate/20140613083115_add_photo_to_venue.rb
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue