added search intervention. search opens new tab with search in the java course (at least in chrome)

send only 3 interventions per exercise at maximum
This commit is contained in:
Thomas Hille
2017-03-01 11:49:54 +01:00
parent 17d09accb7
commit 695b8946f6
10 changed files with 109 additions and 4 deletions

View File

@ -0,0 +1,10 @@
class AddSearch < ActiveRecord::Migration
def change
create_table :searches do |t|
t.belongs_to :exercise, null: false
t.belongs_to :user, polymorphic: true, null: false
t.string :search
t.timestamps
end
end
end