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

Conversation

@yangjingqzp
Copy link
Contributor

多个数据库配置时,如果不同的数据库使用了不同的表前缀,这里需要根据不同数据库的配置决定数据表的前缀

@liu21st
Copy link
Member

liu21st commented Apr 23, 2016

这样修复有欠妥当,因为connection属性不一定是数组

@yangjingqzp
Copy link
Contributor Author

已经修改。只有在设置了当前connection的前缀时,才使用当前connection的表前缀,否则用默认的。

@liu21st liu21st merged commit 051668c into top-think:master Apr 29, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants