Skip to content

Is there a way to copy the tree structure from one model to another?  #161

Open
@niknjegovan

Description

@niknjegovan

I have two related models that are using closure tree to handle the hierarchy.
Machines
Inspections
and a Machine has_many inspections.

I'm trying to work out a way that given a couple of Machine trees, I can create Inspections related to these Machines and copy over the tree structure so that inspections are mirroring the tree structure of machines independently.

Any guidance is most appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions