简体   繁体   English

多态关系 taggable_type

[英]Polymorphic relations taggable_type

since i am working on existing database and can't change Data how do i insert in the relation that the taggable_type is (Firm) and not the default (App\\firm)因为我正在处理现有数据库并且无法更改数据我如何插入 taggable_type 是 (Firm) 而不是默认值 (App\\firm) 的关系

Thanks谢谢

It was in the documentations :s它在文档中:s

here 这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM