From 77c54501ce0c0df72c3524c9cbba7c7e68bdd859 Mon Sep 17 00:00:00 2001 From: Joby Elliott Date: Tue, 21 Aug 2018 19:33:23 -0600 Subject: [PATCH] updating DriverFactory map --- src/DriverFactory.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/DriverFactory.php b/src/DriverFactory.php index 8638101..1190585 100644 --- a/src/DriverFactory.php +++ b/src/DriverFactory.php @@ -6,8 +6,7 @@ class DriverFactory { public static $map = [ 'mysql' => Drivers\MySQLDriver::class, - 'mariadb' => Drivers\MySQLDriver::class, - 'pgsql' => Driver\MySQLDriver::class + 'sqlite' => LegacyDrivers\SQLiteDriver::class ]; public static function factory(string $dsn, string $username=null, string $password=null, array $options=null, string $type = null) : ?Drivers\DSODriverInterface