From d9547f282be1d6563a581003969c1e28d777dee5 Mon Sep 17 00:00:00 2001 From: bohung Date: Mon, 19 Sep 2022 11:05:39 +0800 Subject: [PATCH] Fix bug. --- app/models/site_server.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/models/site_server.rb b/app/models/site_server.rb index c94b53c..e50d353 100644 --- a/app/models/site_server.rb +++ b/app/models/site_server.rb @@ -15,8 +15,6 @@ class SiteServer field :active , type: Boolean ,default: true field :has_certbot, type: Boolean , default: false field :need_update_site_ids, type: Array, default: [] - has_many :site_server_file_backups, :autosave => true, :dependent => :destroy - has_many :site_server_db_backups, :autosave => true, :dependent => :destroy def domain_names if self.domain_name != '' [self.domain_name]