Sha256: 8eb0624237f6e59b02c84b7de780a763912f1af304dee513c2358ebc5735b540

Contents?: true

Size: 331 Bytes

Versions: 2

Compression:

Stored size: 331 Bytes

Contents

class AddCirculationStatusIdToItem < ActiveRecord::Migration[5.2]
  def change
    add_column :items, :circulation_status_id, :integer, default: 5, null: false
    add_column :items, :checkout_type_id, :integer, default: 1, null: false
    add_index :items, :circulation_status_id
    add_index :items, :checkout_type_id
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
enju_inventory-0.4.0.rc.1 spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_circulation-0.4.0.rc.1 db/migrate/20130416054135_add_circulation_status_id_to_item.rb