Skip to content
This repository has been archived by the owner on Jan 4, 2020. It is now read-only.

模型动态配置$connections后,belongsToMany关联中间表仍然使用的database配置? #520

Open
fenglingcao opened this issue Apr 6, 2018 · 0 comments

Comments

@fenglingcao
Copy link

关联模型动态设置$connection连接后,使用belongsToMany('关联模型','中间表','外键','关联键');
中间表前缀依旧是database的前缀配置。这是bug吗?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant