Sha256: e12967219fb11e6b85cf8b890442924567db9b2ace898d2cdd9ca9d33aedc1c5
Contents?: true
Size: 316 Bytes
Versions: 1
Compression:
Stored size: 316 Bytes
Contents
class CreateIsbnRecords < ActiveRecord::Migration[5.1] 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
enju_seed-0.4.0.beta.1 | spec/dummy/db/migrate/20160506144040_create_isbn_records.rb |