Sha256: 983293f82ab35ec67b70dd1dc6d23652e5e76a737a6be1bb713c117a237a976c

Contents?: true

Size: 338 Bytes

Versions: 266

Compression:

Stored size: 338 Bytes

Contents

class AddCirculationStatusIdToItem < ActiveRecord::Migration
  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

266 entries across 259 versions & 12 rubygems

Version Path
enju_event-0.2.0.beta.1 spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_biblio-0.2.0.beta.1 spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_library-0.2.0.beta.1 spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_leaf-1.2.0.beta.1 spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_leaf-1.1.4 spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_library-0.1.2 spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_biblio-0.1.3 spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_circulation-0.1.2 db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_event-0.1.19 spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_leaf-1.1.3 spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_grid-0.1.1 spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_inter_library_loan-0.1.1 spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_oai-0.1.1 spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_bookmark-0.1.3 spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_flower-0.1.1 spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_biblio-0.1.2 spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_library-0.1.1 spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_circulation-0.1.1 db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_ndl-0.1.1 spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_event-0.1.18 spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb