Sha256: 7433f6a46f7578f9489d3351053bdf0e9f6a5f1bebcbae2c738980ad8547b549
Contents?: true
Size: 579 Bytes
Versions: 56
Compression:
Stored size: 579 Bytes
Contents
class CreateCarrierTypeHasCheckoutTypes < ActiveRecord::Migration[4.2] 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
56 entries across 56 versions & 4 rubygems