parent
fa95d4b638
commit
0143f8eb24
@ -0,0 +1,6 @@
|
||||
class MigrateAnonymousTidingType < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
Tiding.where(container_type: "StudentWorksScore", extra: "3").update_all(tiding_type: "System", trigger_user_id: 0)
|
||||
Tiding.where(container_type: "StudentWorksScoresAppeal", parent_container_type: "StudentWork", tiding_type: "HomeworkCommon").update_all(tiding_type: "System", trigger_user_id: 0)
|
||||
end
|
||||
end
|
Loading…
Reference in new issue