Sha256: d306ecaafeafad2f8a86980204424b3d4a314a16112f386be338b3367a09c36a

Contents?: true

Size: 450 Bytes

Versions: 9

Compression:

Stored size: 450 Bytes

Contents

class CreateLogs < ActiveRecord::Migration
  def change
    create_table "logs" do |t|
      t.integer  "job_instance_id", limit: 4
      t.string   "level",           limit: 10
      t.text     "message",         limit: 16777217 # this means MySQL LONGTEXT type and PostgreSQL TEXT type.
      t.datetime "created_at"
      t.datetime "updated_at"
    end

    add_index "logs", ["job_instance_id"], name: "job_instance_id", using: :btree
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
kuroko2-0.3.4 db/migrate/005_create_logs.rb
kuroko2-0.3.3 db/migrate/005_create_logs.rb
kuroko2-0.3.2 db/migrate/005_create_logs.rb
kuroko2-0.3.1 db/migrate/005_create_logs.rb
kuroko2-0.3.0 db/migrate/005_create_logs.rb
kuroko2-0.2.3 db/migrate/005_create_logs.rb
kuroko2-0.2.2 db/migrate/005_create_logs.rb
kuroko2-0.2.1 db/migrate/005_create_logs.rb
kuroko2-0.2.0 db/migrate/005_create_logs.rb