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

10 lines
368 B
Ruby

# frozen_string_literal: true
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