Combine runner waiting_time migrations
This commit is contained in:
@ -6,7 +6,6 @@ class CreateRunners < ActiveRecord::Migration[6.1]
|
|||||||
t.string :runner_id
|
t.string :runner_id
|
||||||
t.references :execution_environment
|
t.references :execution_environment
|
||||||
t.references :user, polymorphic: true
|
t.references :user, polymorphic: true
|
||||||
t.float :waiting_time
|
|
||||||
|
|
||||||
t.timestamps
|
t.timestamps
|
||||||
end
|
end
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
class RemoveWaitingTimeFromRunners < ActiveRecord::Migration[6.1]
|
|
||||||
def change
|
|
||||||
remove_column :runners, :waiting_time
|
|
||||||
end
|
|
||||||
end
|
|
@ -10,7 +10,7 @@
|
|||||||
#
|
#
|
||||||
# It's strongly recommended that you check this file into your version control system.
|
# 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
|
# These are extensions that must be enabled in order to support this database
|
||||||
enable_extension "pg_trgm"
|
enable_extension "pg_trgm"
|
||||||
|
Reference in New Issue
Block a user