'sqlite', 'filename' => get_db_filename() )); if ($db->schema()->check(1)) { return $db; } else { die('Unable to migrate database schema.'); } });