Sha256: 2c14e88a046d22a11581858138989cbd1f4ebfd1bc5eb126f5a34acb4e7ee0e9

Contents?: true

Size: 574 Bytes

Versions: 8

Compression:

Stored size: 574 Bytes

Contents

class CreateCarrierTypeHasCheckoutTypes < ActiveRecord::Migration
  def self.up
    create_table :carrier_type_has_checkout_types do |t|
      t.references :carrier_type, index: false, foreign_key: true, null: false
      t.references :checkout_type, index: true, foreign_key: true, null: false
      t.text :note
      t.integer :position

      t.timestamps
    end
    add_index :carrier_type_has_checkout_types, :carrier_type_id, name: 'index_carrier_type_has_checkout_types_on_m_form_id'
  end

  def self.down
    drop_table :carrier_type_has_checkout_types
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
enju_inter_library_loan-0.2.0 spec/dummy/db/migrate/20081030023615_create_carrier_type_has_checkout_types.rb
enju_circulation-0.2.5 db/migrate/20081030023615_create_carrier_type_has_checkout_types.rb
enju_circulation-0.2.4 db/migrate/20081030023615_create_carrier_type_has_checkout_types.rb
enju_circulation-0.2.3 db/migrate/20081030023615_create_carrier_type_has_checkout_types.rb
enju_circulation-0.2.2 db/migrate/20081030023615_create_carrier_type_has_checkout_types.rb
enju_circulation-0.2.1 db/migrate/20081030023615_create_carrier_type_has_checkout_types.rb
enju_circulation-0.2.0 db/migrate/20081030023615_create_carrier_type_has_checkout_types.rb
enju_circulation-0.2.0.beta.4 db/migrate/20081030023615_create_carrier_type_has_checkout_types.rb