commands and logs to the database
This commit is contained in:
1 parent
74d2fcc4fa
commit
ae65ca47f6
16 files changed
+210
-72
No files matched your search
@@ -33,8 +33,11 @@ class LucentServiceProvider extends ServiceProvider
|
||||
return new ImageManager(['driver' => 'imagick']);
|
||||
});
|
||||
|
||||
|
||||
|
||||
$this->app->bind(DatabaseGraph::class, function () {
|
||||
return match (config("lucent.database")) {
|
||||
$dbConnection = config("lucent.database");
|
||||
return match (config("database.connections.$dbConnection.driver")) {
|
||||
"sqlite" => new SqliteDatabaseGraph(),
|
||||
"pgsql" => new PgsqlDatabaseGraph(),
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user