osem-fcy/db/migrate/20140620130306_add_banner_photo_to_conference.rb

11 lines
368 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2014-06-20 18:41:08 +05:30
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