Sha256: 5ee591dc5927868856488c87e3b18d97b2c4851eb59feb7f3b719f2bc6e502ab

Contents?: true

Size: 315 Bytes

Versions: 2

Compression:

Stored size: 315 Bytes

Contents

class CreateDoiRecords < ActiveRecord::Migration
  def change
    create_table :doi_records do |t|
      t.string :body, index: true, null: false
      t.string :registration_agency
      t.references :manifestation, index: true, null: false
      t.string :source

      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/20151216123621_create_doi_records.rb
enju_seed-0.3.0.beta.1 spec/dummy/db/migrate/20151216123621_create_doi_records.rb