policies and auto review builds
This commit is contained in:
6
db/migrate/20161120175737_init_reviewer_votes.rb
Normal file
6
db/migrate/20161120175737_init_reviewer_votes.rb
Normal file
@ -0,0 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
class InitReviewerVotes < ActiveRecord::Migration[5.0]
|
||||
def up
|
||||
Candidate.where(completed: true).each(&:build_reviews)
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user