Sha256: bab4b4afb6a9d8ccb7047d4fd12414dad2c6db8b3864ae3f963386afd0c329ec

Contents?: true

Size: 282 Bytes

Versions: 3

Compression:

Stored size: 282 Bytes

Contents

class ChangeBallotFormDetailIdName < ActiveRecord::Migration
  def up
    rename_column "rails_voter_voting_results", :ballot_form_detail_id, :election_detail_id
  end

  def down
    rename_column "rails_voter_voting_results", :election_detail_id, :ballot_form_detail_id
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails_voter-0.2.1 db/migrate/20160707131546_change_ballot_form_detail_id_name.rb
rails_voter-0.2.0 db/migrate/20160707131546_change_ballot_form_detail_id_name.rb
rails_voter-0.1.0 db/migrate/20160707131546_change_ballot_form_detail_id_name.rb