9 lines
194 B
Ruby
9 lines
194 B
Ruby
|
class DeleteStudentWorkData < ActiveRecord::Migration
|
||
|
def up
|
||
|
StudentWork.where("homework_common_id = 2604 AND user_id = 10763 AND final_score = 0").destroy_all
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
end
|
||
|
end
|