Sha256: 8244378409bd18397cb763dcb0ec846ae0378321d690e2f828d009925174a0f9

Contents?: true

Size: 699 Bytes

Versions: 1

Compression:

Stored size: 699 Bytes

Contents

# Adds partial ERROR_LOG table to schema (see README).
class CreateErrorLogs < ActiveRecord::Migration
  def change
    create_table :error_logs, id: false do |t|
      t.string :error_logid, primary_key: true
      t.string :error_fingerprintid, index: true
      t.string :error_class
      t.text :description
      t.string :user_roles, length: 400
      t.text :lines
      t.text :parameters_yml
      t.string :url, length: 2000
      t.string :user_agent
      t.string :ip
      t.string :hostname
      t.string :database
      t.float :clock_drift
      t.string :svn_revision
      t.integer :port
      t.integer :process_id
      t.string :status

      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ndr_error-1.1.2 db/migrate/20150918162612_create_error_logs.rb