diff --git a/app/models/education/school.rb b/app/models/education/school.rb
index 9dfad42681b112d3ff8bc87a43fd4aed38e9aac6..c6be336047fb8fe10188c9cb9dfbede775789d10 100644
--- a/app/models/education/school.rb
+++ b/app/models/education/school.rb
@@ -27,7 +27,7 @@ class Education::School < ApplicationRecord
   include WithGit
 
   belongs_to :university
-  has_many :websites, class_name: 'Communication::Website', as: :about
+  has_many :websites, class_name: 'Communication::Website', as: :about, dependent: :nullify
   has_and_belongs_to_many :programs,
                           class_name: 'Education::Program',
                           join_table: 'education_programs_schools',
diff --git a/app/models/research/journal.rb b/app/models/research/journal.rb
index dc74e3252302262082c9aee0423720727f9e34ad..3b815b5ade15b803e6af74fa335c866c36458f33 100644
--- a/app/models/research/journal.rb
+++ b/app/models/research/journal.rb
@@ -24,7 +24,7 @@ class Research::Journal < ApplicationRecord
   include WithGit
 
   belongs_to :university
-  has_many :websites, class_name: 'Communication::Website', as: :about
+  has_many :websites, class_name: 'Communication::Website', as: :about, dependent: :nullify
   has_many :volumes, foreign_key: :research_journal_id, dependent: :destroy
   has_many :articles, foreign_key: :research_journal_id, dependent: :destroy
   has_many :researchers, through: :articles