Sha256: 14f2409a2beb209cbb6c55734e896e13599fa9dd41ee80caa4414ab9e97ac497

Contents?: true

Size: 700 Bytes

Versions: 11

Compression:

Stored size: 700 Bytes

Contents

# Adds partial ERROR_LOG table to schema (see README).
class CreateErrorLogs < NdrError.migration_class
  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

11 entries across 11 versions & 1 rubygems

Version Path
ndr_error-2.3.2 db/migrate/20150918162612_create_error_logs.rb
ndr_error-2.3.1 db/migrate/20150918162612_create_error_logs.rb
ndr_error-2.3.0 db/migrate/20150918162612_create_error_logs.rb
ndr_error-2.2.0 db/migrate/20150918162612_create_error_logs.rb
ndr_error-2.1.0 db/migrate/20150918162612_create_error_logs.rb
ndr_error-2.0.3 db/migrate/20150918162612_create_error_logs.rb
ndr_error-2.0.2 db/migrate/20150918162612_create_error_logs.rb
ndr_error-2.0.1 db/migrate/20150918162612_create_error_logs.rb
ndr_error-2.0.0 db/migrate/20150918162612_create_error_logs.rb
ndr_error-1.1.4 db/migrate/20150918162612_create_error_logs.rb
ndr_error-1.1.3 db/migrate/20150918162612_create_error_logs.rb