osem-fcy/db/migrate/20140613083115_add_photo_to_venue.rb

11 lines
309 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2014-06-14 18:33:39 +05:30
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