Sha256: 1a2b6612d2a2af611705853f67a0cde9316717c973af051e523355aa668a9d3d
Contents?: true
Size: 579 Bytes
Versions: 1
Compression:
Stored size: 579 Bytes
Contents
class CreateCarrierTypeHasCheckoutTypes < ActiveRecord::Migration[5.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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
enju_circulation-0.4.0.rc.1 | db/migrate/20081030023615_create_carrier_type_has_checkout_types.rb |