Chore: Replaced dependent destroy with dependent destroy_async in all models (#3249)
This commit is contained in:
@@ -22,5 +22,5 @@ class PlatformAppPermissible < ApplicationRecord
|
||||
validates :platform_app_id, uniqueness: { scope: [:permissible_id, :permissible_type] }
|
||||
|
||||
belongs_to :platform_app
|
||||
belongs_to :permissible, polymorphic: true, dependent: :destroy
|
||||
belongs_to :permissible, polymorphic: true, dependent: :destroy_async
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user