generators/tartarus/templates/db/migrate/add_logged_exceptions.rb in tartarus-1.0.1 vs generators/tartarus/templates/db/migrate/add_logged_exceptions.rb in tartarus-1.0.3
- old
+ new
@@ -8,9 +8,10 @@
t.text :message
t.text :backtrace
t.text :request
t.datetime :created_at
end
+ add_index :<%= plural_name %>, :group_id
end
def self.down
drop_table :<%= plural_name %>
end