Files
codeocean/db/migrate/20220415125948_add_testrun_execution_environment.rb
2022-04-15 15:22:19 +02:00

13 lines
408 B
Ruby

# 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