Sha256: f4354561e0872deef8f5e640b3d20a7fb9dbb76a8ccb1032e546677ee42e66bf
Contents?: true
Size: 580 Bytes
Versions: 53
Compression:
Stored size: 580 Bytes
Contents
class CreateCarrierTypeHasCheckoutTypes < ActiveRecord::Migration[4.2] def self.up create_table :carrier_type_has_checkout_types do |t| t.integer :carrier_type_id, null: false t.integer :checkout_type_id, 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' add_index :carrier_type_has_checkout_types, :checkout_type_id end def self.down drop_table :carrier_type_has_checkout_types end end
Version data entries
53 entries across 53 versions & 9 rubygems