Laravel: Check if the field was filled in the route, using Trait and Scope

后端 未结 0 1417
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-20 14:46

I have an api that I am implementing multi-tenant based on an additional column in the tables.

For this I created a trait that implements a static::addGlobalScope() and s

相关标签:
回答
  • 消灭零回复
提交回复
热议问题