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

13 lines
275 B
Ruby

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