transferred Code Ocean from original repository to GitHub
This commit is contained in:
11
db/migrate/20140625134118_create_exercises.rb
Normal file
11
db/migrate/20140625134118_create_exercises.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
class CreateExercises < ActiveRecord::Migration
|
||||
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
|
Reference in New Issue
Block a user