How can I use type as STRING for polymorphic relation table ids (…able_id) table in laravel?

前端 未结 0 1911
独厮守ぢ
独厮守ぢ 2021-01-02 16:21

I will use the db example below (modified the example in laravel docs) to explain.

Table structure (modified example)

posts
    id - integer
    name         


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