Sha256: f137547d50bb1bdfbb3718d4e49780e5d0c9460aa215bffb15e328153fff976f

Contents?: true

Size: 442 Bytes

Versions: 8

Compression:

Stored size: 442 Bytes

Contents

class CreateErrorMessages < ActiveRecord::Migration
  def self.up
    create_table :error_messages do |t|
      t.text :class_name
      t.text :message
      t.text :trace
      t.text :params
      t.text :target_url
      t.text :referer_url
      t.text :user_agent
      t.string :user_info
      t.string :app_name
      t.datetime :created_at

      t.timestamps
    end
  end

  def self.down
    drop_table :error_messages
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rails_exception_handler-1.3.0 spec/testapp_30/db/migrate/20110630174538_create_error_messages.rb
rails_exception_handler-1.2.1 spec/testapp_30/db/migrate/20110630174538_create_error_messages.rb
rails_exception_handler-1.2.0 spec/testapp_30/db/migrate/20110630174538_create_error_messages.rb
rails_exception_handler-1.1.2 spec/testapp_30/db/migrate/20110630174538_create_error_messages.rb
rails_exception_handler-1.1.1 spec/testapp_30/db/migrate/20110630174538_create_error_messages.rb
rails_exception_handler-1.1.0 spec/testapp_30/db/migrate/20110630174538_create_error_messages.rb
rails_exception_handler-1.0.1 spec/testapp_30/db/migrate/20110630174538_create_error_messages.rb
rails_exception_handler-1.0.0 spec/testapp_30/db/migrate/20110630174538_create_error_messages.rb