Sha256: e2324fd98e87486fdc1c129635c2b1cb6cf56cfe9b355e525051d0402eecafef

Contents?: true

Size: 294 Bytes

Versions: 2

Compression:

Stored size: 294 Bytes

Contents

class CreateImportRequests < ActiveRecord::Migration[5.0]
  def change
    create_table :import_requests do |t|
      t.string :isbn, index: true
      t.references :manifestation, foreign_key: true, type: :uuid
      t.references :user, foreign_key: true

      t.timestamps
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
enju_seed-0.3.0.beta.4 spec/dummy/db/migrate/20100129142347_create_import_requests.rb
enju_seed-0.3.0.beta.3 spec/dummy/db/migrate/20100129142347_create_import_requests.rb