Sha256: bb6d58026dcd0faae4202dd7c5cf9e000b9f43c19e334e870bec69f3cc84c1a0
Contents?: true
Size: 442 Bytes
Versions: 2
Compression:
Stored size: 442 Bytes
Contents
class Add<%= class_name %>Table < ActiveRecord::Migration def self.up create_table :<%= plural_name %>, :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 end def self.down drop_table :<%= plural_name %> end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tartarus-1.0.1 | generators/tartarus/templates/db/migrate/add_logged_exceptions.rb |
tartarus-1.0.0 | generators/tartarus/templates/db/migrate/add_logged_exceptions.rb |