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_search_log-0.2.0.beta.1 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_question-0.2.0.beta.1 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_bookmark-0.2.0.beta.1 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_oai-0.2.0.beta.1 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_seed-0.2.0.beta.1 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_flower-0.1.2 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_nii-0.2.0.beta.1 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_circulation-0.2.0.beta.1 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_ndl-0.2.0.beta.1 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_event-0.2.0.beta.1 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_message-0.2.0.beta.1 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_subject-0.2.0.beta.1 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_manifestation_viewer-0.2.0.beta.1 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_biblio-0.2.0.beta.1 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_library-0.2.0.beta.1 db/migrate/20120319173203_create_accepts.rb
enju_leaf-1.2.0.beta.1 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_leaf-1.1.4 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_library-0.1.2 db/migrate/20120319173203_create_accepts.rb
enju_biblio-0.1.3 spec/dummy/db/migrate/20120319173203_create_accepts.rb
enju_circulation-0.1.2 spec/dummy/db/migrate/20120319173203_create_accepts.rb