Closed benedict-chan closed 5 years ago
If not setting the environment variables, the default connection is hard-coded to SQLite as it prefixed with a "Filename="
"Filename="
var connectionString = _config.GetValue<string>("ASPNETCORE_Conduit_ConnectionString") ?? $"Filename={DEFAULT_DATABASE_FILE}";
Also to make it consistent, the default variable should be named "connection string" like the environment variable.
Thanks!
If not setting the environment variables, the default connection is hard-coded to SQLite as it prefixed with a
"Filename="
var connectionString = _config.GetValue<string>("ASPNETCORE_Conduit_ConnectionString") ?? $"Filename={DEFAULT_DATABASE_FILE}";
Also to make it consistent, the default variable should be named "connection string" like the environment variable.