parent
f5bc381187
commit
417d0793f8
@ -0,0 +1,6 @@
|
||||
class DeleteContentsIsNullForChallengeAnswers < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
contents = ChallengeAnswer.where("contents = ''")
|
||||
contents.delete_all
|
||||
end
|
||||
end
|
Loading…
Reference in new issue