Sha256: 0b0dffe57ac94e1c799890092e555caf703ab567742d0f8df1b1e16a53f716b7

Contents?: true

Size: 316 Bytes

Versions: 2

Compression:

Stored size: 316 Bytes

Contents

class CreateIsbnRecords < ActiveRecord::Migration[5.0]
  def change
    create_table :isbn_records do |t|
      t.string :body, index: {unique: true}, null: false
      t.string :isbn_type
      t.string :source
      t.references :manifestation, foreign_key: true, type: :uuid

      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/20160506144040_create_isbn_records.rb
enju_seed-0.3.0.beta.3 spec/dummy/db/migrate/20160506144040_create_isbn_records.rb