Sha256: 8ead6700a16e4dbd40a95ecdaa8bb118b7c353e01b73991e8b6e195b6d184a60
Contents?: true
Size: 615 Bytes
Versions: 3
Compression:
Stored size: 615 Bytes
Contents
class CreateWatchedExceptions < ActiveRecord::Migration def self.up create_table :watched_exceptions do |t| t.string :controller_name, :action_name, :controller_action, :exception_class, :key t.string :parameters, :format, :application_path, :message t.text :backtrace, :request t.datetime :created_at end change_table :watched_exceptions do |t| [:controller_name, :action_name, :controller_action, :exception_class, :key, :created_at, :message].each do |col| t.index col end end end def self.down drop_table :watched_exceptions end end
Version data entries
3 entries across 3 versions & 1 rubygems