Skip to content

Commit

Permalink
Merge pull request #17462 from Ladas/do_not_delete_snapshot_children_…
Browse files Browse the repository at this point in the history
…with_parent

Do not delete children snapshots as part of parent
  • Loading branch information
agrare authored May 22, 2018
2 parents 656a6c4 + ff840c9 commit 2903440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/snapshot.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'time'

class Snapshot < ApplicationRecord
acts_as_tree
acts_as_tree :dependent => :nullify

belongs_to :vm_or_template

Expand Down

0 comments on commit 2903440

Please sign in to comment.