diff options
Diffstat (limited to 'app/models/mini_environment.rb')
-rw-r--r-- | app/models/mini_environment.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/app/models/mini_environment.rb b/app/models/mini_environment.rb index 502cff2..d3f8ec3 100644 --- a/app/models/mini_environment.rb +++ b/app/models/mini_environment.rb @@ -36,15 +36,6 @@ # class MiniEnvironment < ApplicationRecord - has_many( - :finished_terraform_jobs, - lambda do |mini_environment| - unscope(:where).where( - 'finished_terraform_jobs.model_id = ?', mini_environment.id - ) - end, - dependent: :destroy - ) belongs_to :govuk_guix_revision, class_name: 'GovukGuix::Revision' belongs_to :backend, polymorphic: true |