Xethron / migrations-generator

Laravel Migrations Generator: Automatically generate your migrations from an existing database schema.
MIT License
3.32k stars 591 forks source link

Use correct connection on getTablePrefix() #170

Open litui opened 5 years ago

litui commented 5 years ago

This fixes getTablePrefix to refer to the connection when one is specified (eg: on multi-database installs). Also rolls up the pull request #160 which I needed to allow the existing tests to pass under php 7.2.