ActsAsTree
на сайте с 19 апреля 2023, 20:42
ActsAsTree extends ActiveRecord to add simple support for organizing items into parent–children relationships. By default, ActsAsTree expects a foreign key column called parent_id.