Newer
Older
dmpopidor / db / migrate / 20150805105542_add_institution_logo_text_banner_to.rb
@Marta Ribeiro Marta Ribeiro on 3 Jun 2016 291 bytes DMPonline4 - RAILS 4.0 (#4)
class AddInstitutionLogoTextBannerTo < ActiveRecord::Migration
  def change
    add_column :organisations, :banner_text, :text
    add_column :organisations, :logo_file_name, :string
    remove_column :organisations, :logo_file_id
    remove_column :organisations, :banner_file_id
  end
end