Sha256: c1171ab27990f42c04125f088ce059f5aeb7b24d4e1ad28f1905cdd7c46668ec

Contents?: true

Size: 281 Bytes

Versions: 442

Compression:

Stored size: 281 Bytes

Contents

class CreateAccepts < ActiveRecord::Migration
  def change
    create_table :accepts do |t|
      t.integer :basket_id
      t.integer :item_id
      t.integer :librarian_id

      t.timestamps
    end

    add_index :accepts, :basket_id
    add_index :accepts, :item_id
  end
end

Version data entries

442 entries across 439 versions & 24 rubygems

Version Path
enju_nii-0.2.0.beta.2 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_ndl-0.2.0.beta.2 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_seed-0.2.0.beta.5 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_library-0.2.0.beta.4 db/migrate/20120319173203_create_accepts.rb
enju_seed-0.2.0.beta.4 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_loc-0.2.0.beta.1 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_question-0.2.0.beta.2 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_subject-0.2.0.beta.2 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_circulation-0.2.0.beta.2 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_event-0.2.0.beta.2 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_message-0.2.0.beta.2 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_bookmark-0.2.0.beta.2 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_leaf-1.2.0.beta.2 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_manifestation_viewer-0.2.0.beta.2 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_biblio-0.2.0.beta.2 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_library-0.2.0.beta.3 db/migrate/20120319173203_create_accepts.rb
enju_seed-0.2.0.beta.3 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_library-0.2.0.beta.2 db/migrate/20120319173203_create_accepts.rb
enju_seed-0.2.0.beta.2 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_inventory-0.2.0.beta.1 spec/dummy/db/migrate/20120319173203_create_accepts.rb