Combine runner waiting_time migrations

This commit is contained in:
Sebastian Serth
2021-09-19 15:21:08 +02:00
parent 0c22e1392a
commit 0cc1c7a396
3 changed files with 1 additions and 9 deletions

View File

@ -6,7 +6,6 @@ class CreateRunners < ActiveRecord::Migration[6.1]
t.string :runner_id
t.references :execution_environment
t.references :user, polymorphic: true
t.float :waiting_time
t.timestamps
end

View File

@ -1,7 +0,0 @@
# frozen_string_literal: true
class RemoveWaitingTimeFromRunners < ActiveRecord::Migration[6.1]
def change
remove_column :runners, :waiting_time
end
end

View File

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2021_06_11_101330) do
ActiveRecord::Schema.define(version: 2021_06_02_071834) do
# These are extensions that must be enabled in order to support this database
enable_extension "pg_trgm"