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_biblio-0.1.0.pre43 spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_circulation-0.1.0.pre29 db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_biblio-0.1.0.pre42 spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_library-0.1.0.pre24 spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_circulation-0.1.0.pre28 db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_biblio-0.1.0.pre41 spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_circulation-0.1.0.pre27 db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_circulation-0.1.0.pre26 db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_library-0.1.0.pre23 spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_biblio-0.1.0.pre40 spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_biblio-0.1.0.pre39 spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_biblio-0.1.0.pre38 spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_circulation-0.1.0.pre25 db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_circulation-0.1.0.pre24 db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_library-0.1.0.pre22 spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_biblio-0.1.0.pre37 spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_biblio-0.1.0.pre36 spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_biblio-0.1.0.pre35 spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_biblio-0.1.0.pre34 spec/dummy/db/migrate/20130416054135_add_circulation_status_id_to_item.rb
enju_circulation-0.1.0.pre23 db/migrate/20130416054135_add_circulation_status_id_to_item.rb