Class: CreateErrors
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateErrors
- Defined in:
- lib/generators/templates/create_table.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/generators/templates/create_table.rb', line 2 def change create_table :errors do |t| t.string :usable_type t.integer :usable_id t.text :class_name t.text :message t.text :trace t.text :target_url t.text :referer_url t.text :params t.text :user_agent t. end end |