Sha256: 1da99589b71fe62331b12ab53e2213eeb3ae6f619812fb0cdde439cf0d44a4d0

Contents?: true

Size: 482 Bytes

Versions: 6

Compression:

Stored size: 482 Bytes

Contents

class AddLoggedExceptionTable < ActiveRecord::Migration
  def self.up
    create_table :logged_exceptions, :force => true do |t|
      t.string   :group_id
      t.string   :exception_class
      t.string   :controller_path
      t.string   :action_name
      t.text     :message
      t.text     :backtrace
      t.text     :request
      t.datetime :created_at
    end
    add_index :logged_exceptions, :group_id
  end

  def self.down
    drop_table :logged_exceptions
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tartarus-2.3 spec/rails_app/db/migrate/20120828161925_add_logged_exception_table.rb
tartarus-2.2 spec/rails_app/db/migrate/20120828161925_add_logged_exception_table.rb
tartarus-2.0.4 spec/rails_app/db/migrate/20101230191040_add_logged_exception_table.rb
tartarus-2.0.3 spec/rails_app/db/migrate/20101230191040_add_logged_exception_table.rb
tartarus-2.0.1 spec/rails_app/db/migrate/20101230191040_add_logged_exception_table.rb
tartarus-2.0.0 spec/rails_app/db/migrate/20101230191040_add_logged_exception_table.rb