Sha256: 91c1c19dc999f126ce6b6c35c3f149aa4d00d058752033169aa4d94853ebb218

Contents?: true

Size: 346 Bytes

Versions: 21

Compression:

Stored size: 346 Bytes

Contents

class CreateBatchObjectMessages < ActiveRecord::Migration
  def change
    unless table_exists?(:batch_object_messages)
      create_table :batch_object_messages do |t|
        t.integer :batch_object_id
        t.integer :level,   default: Logger::DEBUG
        t.text    :message, limit: 65535

        t.timestamps
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

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