Persist Execution Environment when running code

This commit is contained in:
Sebastian Serth
2022-04-15 15:16:57 +02:00
parent 4887f4af02
commit d10735d0a8
7 changed files with 39 additions and 4 deletions

View File

@ -0,0 +1,12 @@
# frozen_string_literal: true
class AddTestrunExecutionEnvironment < ActiveRecord::Migration[6.1]
def change
create_table :testrun_execution_environments do |t|
t.belongs_to :testrun, foreign_key: true, null: false, index: true
t.belongs_to :execution_environment, foreign_key: true, null: false, index: {name: 'index_testrun_execution_environments'}
t.timestamps
end
end
end