Sha256: 46c0ce0b7f7fee92bb7fc875871a598d27fc7886ee3f0e0797a4c6f88f5b51be

Contents?: true

Size: 359 Bytes

Versions: 6

Compression:

Stored size: 359 Bytes

Contents

class CreateImportRequests < ActiveRecord::Migration[5.2]
  def change
    create_table :import_requests do |t|
      t.string :isbn
      t.integer :manifestation_id
      t.integer :user_id

      t.timestamps
    end
    add_index :import_requests, :isbn
    add_index :import_requests, :manifestation_id
    add_index :import_requests, :user_id
  end
end

Version data entries

6 entries across 6 versions & 6 rubygems

Version Path
enju_inventory-0.4.0.rc.1 spec/dummy/db/migrate/20100129142347_create_import_requests.rb
enju_ndl-0.4.0.rc.1 spec/dummy/db/migrate/20100129142347_create_import_requests.rb
enju_circulation-0.4.0.rc.1 spec/dummy/db/migrate/20100129142347_create_import_requests.rb
enju_manifestation_viewer-0.4.0.rc.1 spec/dummy/db/migrate/20100129142347_create_import_requests.rb
enju_subject-0.4.0.rc.1 spec/dummy/db/migrate/20100129142347_create_import_requests.rb
enju_event-0.4.0.rc.1 spec/dummy/db/migrate/20100129142347_create_import_requests.rb