Sha256: 60e51386d5fafa7268eeae26ad8b5ec54c7a112095795b85018e85e088729f37

Contents?: true

Size: 540 Bytes

Versions: 45

Compression:

Stored size: 540 Bytes

Contents

class CreateBatchObjects < ActiveRecord::Migration
  def change
    unless table_exists?(:batch_objects)
      create_table :batch_objects do |t|
        t.integer  "batch_id"
        t.string   "identifier"
        t.string   "model"
        t.string   "label"
        t.string   "pid"
        t.datetime "created_at"
        t.datetime "updated_at"
        t.string   "type"
        t.boolean  "verified",   default: false
      end
      add_index "batch_objects", ["verified"], name: "index_batch_objects_on_verified"
    end
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
ddr-batch-1.7.2 db/migrate/20150828201857_create_batch_objects.rb
ddr-batch-1.7.1 db/migrate/20150828201857_create_batch_objects.rb
ddr-batch-1.7.0 db/migrate/20150828201857_create_batch_objects.rb
ddr-batch-1.6.1 db/migrate/20150828201857_create_batch_objects.rb
ddr-batch-1.6.0 db/migrate/20150828201857_create_batch_objects.rb
ddr-batch-1.6.0.rc1 db/migrate/20150828201857_create_batch_objects.rb
ddr-batch-1.5.1 db/migrate/20150828201857_create_batch_objects.rb
ddr-batch-1.5.0 db/migrate/20150828201857_create_batch_objects.rb
ddr-batch-1.5.0.rc1 db/migrate/20150828201857_create_batch_objects.rb
ddr-batch-1.4.1 db/migrate/20150828201857_create_batch_objects.rb
ddr-batch-1.4.0 db/migrate/20150828201857_create_batch_objects.rb
ddr-batch-1.4.0.rc1 db/migrate/20150828201857_create_batch_objects.rb
ddr-batch-1.3.0 db/migrate/20150828201857_create_batch_objects.rb
ddr-batch-1.3.0.rc1 db/migrate/20150828201857_create_batch_objects.rb
ddr-batch-1.2.0 db/migrate/20150828201857_create_batch_objects.rb
ddr-batch-1.2.0.rc6 db/migrate/20150828201857_create_batch_objects.rb
ddr-batch-1.2.0.rc5 db/migrate/20150828201857_create_batch_objects.rb
ddr-batch-1.2.0.rc4 db/migrate/20150828201857_create_batch_objects.rb
ddr-batch-1.2.0.rc3 db/migrate/20150828201857_create_batch_objects.rb
ddr-batch-1.2.0.rc2 db/migrate/20150828201857_create_batch_objects.rb