Merge branch 'dev_aliyun' of https://bdgit.educoder.net/Hjqreturn/educoder into dev_aliyun
commit
ea6245ba93
@ -0,0 +1,6 @@
|
||||
class DeleteContentsIsNullForChallengeAnswers < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
contents = ChallengeAnswer.where("contents = ''")
|
||||
contents.delete_all
|
||||
end
|
||||
end
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 5.7 KiB |
Loading…
Reference in new issue