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

15 lines
331 B
Ruby

class CreateRunners < ActiveRecord::Migration[5.2]
def change
create_table :runners do |t|
t.string :runner_id
t.references :execution_environment
t.references :user, polymorphic: true
t.integer :time_limit
t.float :waiting_time
t.datetime :last_used
t.timestamps
end
end
end