parent
3abfaed081
commit
08b469fa3c
@ -0,0 +1,7 @@
|
|||||||
|
#学生作品匿评分配表
|
||||||
|
class StudentWorksEvaluationDistribution < ActiveRecord::Base
|
||||||
|
attr_accessible :student_work_id, :user_id
|
||||||
|
|
||||||
|
belongs_to :student_work
|
||||||
|
belongs_to :user
|
||||||
|
end
|
@ -0,0 +1,10 @@
|
|||||||
|
class CreateStudentWorksEvaluationDistributions < ActiveRecord::Migration
|
||||||
|
def change
|
||||||
|
create_table :student_works_evaluation_distributions do |t|
|
||||||
|
t.integer :student_work_id
|
||||||
|
t.integer :user_id
|
||||||
|
|
||||||
|
t.timestamps
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in new issue