diff --git a/db/migrate/20191213173125_remove_on_hold_duration_from_tasks.rb b/db/migrate/20191213173125_remove_on_hold_duration_from_tasks.rb new file mode 100644 index 00000000000..59030c5908c --- /dev/null +++ b/db/migrate/20191213173125_remove_on_hold_duration_from_tasks.rb @@ -0,0 +1,5 @@ +class RemoveOnHoldDurationFromTasks < ActiveRecord::Migration[5.1] + def change + safety_assured { remove_column :tasks, :on_hold_duration, :int } + end +end diff --git a/db/schema.rb b/db/schema.rb index e06b966bde0..d8ea50d4872 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20191206024319) do +ActiveRecord::Schema.define(version: 20191213173125) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -1185,7 +1185,6 @@ t.datetime "closed_at" t.datetime "created_at", null: false t.text "instructions", default: [], array: true - t.integer "on_hold_duration" t.integer "parent_id" t.datetime "placed_on_hold_at" t.datetime "started_at"