leafMVC
leafMVC copied to clipboard
Inability to initiate multiple PDO connections with the same db driver
Database.php
Line 14 ("driver" => getenv('DB_CONNECTION')) is equating db connection with the driver itself, which is very misleading and prevents the ability to configure multiple connections (with custom names) from using the same driver.
Consider having 'connection1' with 'sqlite' driver and 'coonection2' with the same 'sqlite' driver -- it is currently impossible.
This works correctly in Laravel