errdo 0.11.6 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1ad577c40b152ed04f66c8754561ee289996448f
4
- data.tar.gz: c8d7ef2a6ebbd091caeb8906e6f445131a52d139
3
+ metadata.gz: 4116e90f72c32acdffad213a308e7ff11f43c01b
4
+ data.tar.gz: c4cf490f849f5739e9524a25942adf5f91535890
5
5
  SHA512:
6
- metadata.gz: c53103b6019c69f643e30b78e144d048583f82aa65ff8cb2a8c8b8393ae418897359c255631b00738c3f20da83f56fa881557126e7bee4e10d20797d509cf4d1
7
- data.tar.gz: f701bc90c15d87628baa6492330d2061d4e71dff66341105697952d49394222711ea19290617cafa89f6da2ec99dda84aae9274fe37803045dd5db9e9c3c0e73
6
+ metadata.gz: 39f04a65ec0cc8043f2e1b0cd754e468196b362370460c2fa4ac4ad32f6b9fc2a36b66bdfe28b62100eb75eaa6be5857f00a5985eb0cedac8e281825aedfc02f
7
+ data.tar.gz: 6606efd12bb3ac9a0716eb773f8147a6a7e0bfb35fc22bbfaa8f1df4c6afcc75f3f7dad0a26563bfd6bf1a30ee81350c616f1982f0e19aa5e1b2730881f3b540
data/lib/errdo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Errdo
2
- VERSION = '0.11.6'.freeze
2
+ VERSION = '0.12.0'.freeze
3
3
  end
@@ -1,11 +1,11 @@
1
1
  class ErrdoCreate<%= table_name.camelize %> < ActiveRecord::Migration<%= migration_version %>
2
2
  def change
3
3
  create_table :<%= table_name %> do |t|
4
- t.string :exception_class_name
5
- t.string :exception_message
4
+ t.text :exception_class_name
5
+ t.text :exception_message
6
6
  t.string :http_method
7
- t.string :host_name
8
- t.string :url
7
+ t.text :host_name
8
+ t.text :url
9
9
 
10
10
  t.text :backtrace
11
11
 
@@ -33,9 +33,9 @@ class ErrdoCreate<%= table_name.camelize %> < ActiveRecord::Migration<%= migrati
33
33
  t.integer :experiencer_id
34
34
 
35
35
  t.string :ip
36
- t.string :user_agent
36
+ t.text :user_agent
37
37
  t.string :referer
38
- t.string :query_string
38
+ t.text :query_string
39
39
  t.text :form_values
40
40
  t.text :param_values
41
41
  t.text :cookie_values
Binary file
@@ -0,0 +1,18 @@
1
+ class UpdateColumns < ActiveRecord::Migration
2
+ def up
3
+ change_column :errors, :exception_class_name, :text
4
+ change_column :errors, :exception_message, :text
5
+ change_column :errors, :host_name, :text
6
+ change_column :errors, :url, :text
7
+ change_column :error_occurrences, :user_agent, :text
8
+ change_column :error_occurrences, :query_string, :text
9
+ end
10
+ def down
11
+ change_column :errors, :exception_class_name, :string
12
+ change_column :errors, :exception_message, :string
13
+ change_column :errors, :host_name, :string
14
+ change_column :errors, :url, :string
15
+ change_column :error_occurrences, :user_agent, :string
16
+ change_column :error_occurrences, :query_string, :string
17
+ end
18
+ end
@@ -11,16 +11,16 @@
11
11
  #
12
12
  # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(version: 20161004015324) do
14
+ ActiveRecord::Schema.define(version: 20161120204607) do
15
15
 
16
16
  create_table "error_occurrences", force: :cascade do |t|
17
17
  t.integer "error_id"
18
18
  t.string "experiencer_type"
19
19
  t.integer "experiencer_id"
20
20
  t.string "ip"
21
- t.string "user_agent"
21
+ t.text "user_agent"
22
22
  t.string "referer"
23
- t.string "query_string"
23
+ t.text "query_string"
24
24
  t.text "form_values"
25
25
  t.text "param_values"
26
26
  t.text "cookie_values"
@@ -35,11 +35,11 @@ ActiveRecord::Schema.define(version: 20161004015324) do
35
35
  add_index "error_occurrences", ["experiencer_type"], name: "index_error_occurrences_on_experiencer_type"
36
36
 
37
37
  create_table "errors", force: :cascade do |t|
38
- t.string "exception_class_name"
39
- t.string "exception_message"
38
+ t.text "exception_class_name"
39
+ t.text "exception_message"
40
40
  t.string "http_method"
41
- t.string "host_name"
42
- t.string "url"
41
+ t.text "host_name"
42
+ t.text "url"
43
43
  t.text "backtrace"
44
44
  t.string "backtrace_hash"
45
45
  t.integer "occurrence_count", default: 0
Binary file