Files
codeocean/db/migrate/20140625134118_create_exercises.rb
2021-05-14 22:03:06 +02:00

14 lines
287 B
Ruby

# frozen_string_literal: true
class CreateExercises < ActiveRecord::Migration[4.2]
def change
create_table :exercises do |t|
t.text :description
t.belongs_to :execution_environment
t.text :template_code
t.string :title
t.timestamps
end
end
end