Closure table database design pattern realization for Laravel framework.