config
This commit is contained in:
@@ -31,7 +31,7 @@ class LucentServiceProvider extends ServiceProvider
|
||||
});
|
||||
|
||||
$this->app->bind(DatabaseGraph::class, function () {
|
||||
return match (config("database.lucent")) {
|
||||
return match (config("lucent.database")) {
|
||||
"sqlite" => new SqliteDatabaseGraph(),
|
||||
"pgsql" => new PgsqlDatabaseGraph(),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user