Skip to content

Commit a0a465a

Browse files
committed
Add a field in which to store the diff
1 parent 4bfb222 commit a0a465a

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
class AddObservationDiff < ActiveRecord::Migration[5.1]
2+
def change
3+
# Give us a place to put diffs generated by, e.g., check_please
4+
add_column "lab_tech_observations", "diff", :text
5+
end
6+
end

spec/dummy/db/schema.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#
1111
# It's strongly recommended that you check this file into your version control system.
1212

13-
ActiveRecord::Schema.define(version: 2019_08_15_192130) do
13+
ActiveRecord::Schema.define(version: 20210205225332) do
1414

1515
create_table "lab_tech_experiments", force: :cascade do |t|
1616
t.string "name"
@@ -31,6 +31,7 @@
3131
t.text "exception_message"
3232
t.text "exception_backtrace"
3333
t.datetime "created_at"
34+
t.text "diff"
3435
t.index ["result_id"], name: "index_lab_tech_observations_by_result_id"
3536
end
3637

0 commit comments

Comments
 (0)