This commit is contained in:
2023-10-15 23:46:21 +03:00
parent 5ebf3311e4
commit d6f41d3790
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -2,6 +2,7 @@
return [
"schemas_path" => env("LUCENT_SCHEMAS_PATH", "app/Lucent"),
"database" => env('LUCENT_DB_CONNECTION', env('DB_CONNECTION',"sqlite")),
"name" => env("LUCENT_NAME", "Lucent"),
"url" => env("LUCENT_URL", "http://localhost:8000/"),
"previewTarget" => env("LUCENT_PREVIEW_TARGET", "previewTarget"),
+1 -1
View File
@@ -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(),
};