Skip to content

Commit

Permalink
Merge 10a0d1a into f14936b
Browse files Browse the repository at this point in the history
  • Loading branch information
jgreben committed Sep 16, 2020
2 parents f14936b + 10a0d1a commit 194ffbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/uni_updates_batch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class UniUpdatesBatch < ApplicationRecord
self.primary_key = 'batch_id'
has_many :uni_updates, foreign_key: 'batch_id',
class_name: 'UniUpdates',
dependent: :destroy,
dependent: :delete_all,
inverse_of: :uni_updates_batch

def self.create_item_type_batch(params, total_bcs)
Expand Down

0 comments on commit 194ffbd

Please sign in to comment.