Sha256: ed2926bef54a7f2f13f6a9e3a7b216aa0944deaffbd25a9ab372ca7e17ef003e

Contents?: true

Size: 324 Bytes

Versions: 1

Compression:

Stored size: 324 Bytes

Contents

class CreateDoiRecords < ActiveRecord::Migration[5.1]
  def change
    create_table :doi_records do |t|
      t.string :body, index: {unique: true}, null: false
      t.string :registration_agency
      t.references :manifestation, foreign_key: true, type: :uuid
      t.string :source

      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/20151216123621_create_doi_records.rb