transferred Code Ocean from original repository to GitHub
This commit is contained in:
11
db/migrate/20140626144036_create_submissions.rb
Normal file
11
db/migrate/20140626144036_create_submissions.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
class CreateSubmissions < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :submissions do |t|
|
||||
t.text :code
|
||||
t.belongs_to :exercise
|
||||
t.float :score
|
||||
t.belongs_to :user
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user