Sha256: 6c1e725156e7c82adc842f2790478b445c7e72f5da5e362750f416a0e543e2a6

Contents?: true

Size: 264 Bytes

Versions: 3

Compression:

Stored size: 264 Bytes

Contents

class ChangeBallotFormDetailName < ActiveRecord::Migration
  def up
    rename_table("rails_voter_ballot_form_details", "rails_voter_election_details")
  end

  def down
    rename_table("rails_voter_election_details", "rails_voter_ballot_form_details")
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails_voter-0.2.1 db/migrate/20160707114814_change_ballot_form_detail_name.rb
rails_voter-0.2.0 db/migrate/20160707114814_change_ballot_form_detail_name.rb
rails_voter-0.1.0 db/migrate/20160707114814_change_ballot_form_detail_name.rb