Sha256: 1f09987f5458a9ff3688b61b7626ec6375b82ae23f2e15d9de3095078486f4ea

Contents?: true

Size: 313 Bytes

Versions: 2

Compression:

Stored size: 313 Bytes

Contents

class CreateIsbnRecords < ActiveRecord::Migration
  def change
    create_table :isbn_records do |t|
      t.string :body, index: true, null: false
      t.string :isbn_type
      t.string :source
      t.references :manifestation, index: true, foreign_key: true

      t.timestamps null: false
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
enju_seed-0.3.0.beta.2 spec/dummy/db/migrate/20160506144040_create_isbn_records.rb
enju_seed-0.3.0.beta.1 spec/dummy/db/migrate/20160506144040_create_isbn_records.rb