Sha256: c620fb797811f918ef88f5dbe0bd535b2fe972e758008dddb8e2ca2f076c8e89

Contents?: true

Size: 178 Bytes

Versions: 6

Compression:

Stored size: 178 Bytes

Contents

class AddRefToBallotFormDetails < ActiveRecord::Migration
  def change
    add_reference :rails_voter_ballot_form_details, :ballot_form, index: true, foreign_key: true
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rails_voter-0.2.1 db/migrate/20160607180028_add_ref_to_ballot_form_details.rb
rails_voter-0.2.0 db/migrate/20160607180028_add_ref_to_ballot_form_details.rb
rails_voter-0.1.0 db/migrate/20160607180028_add_ref_to_ballot_form_details.rb
rails_voter-0.0.3 db/migrate/20160607180028_add_ref_to_ballot_form_details.rb
rails_voter-0.0.2 db/migrate/20160607180028_add_ref_to_ballot_form_details.rb
rails_voter-0.0.1 db/migrate/20160607180028_add_ref_to_ballot_form_details.rb