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