Files
codeocean/db/migrate/20210519134938_create_runners.rb
2021-11-01 17:12:47 +01:00

15 lines
306 B
Ruby

# frozen_string_literal: true
class CreateRunners < ActiveRecord::Migration[6.1]
def change
create_table :runners do |t|
t.string :runner_id
t.references :execution_environment
t.references :user, polymorphic: true
t.float :waiting_time
t.timestamps
end
end
end