Migrate from MongoDB to Couchbase Lite for local storage; update related services and configurations
Some checks failed
Publish Container / publish (push) Failing after 3m43s
Some checks failed
Publish Container / publish (push) Failing after 3m43s
This commit is contained in:
parent
374163bf11
commit
f976d70db8
24 changed files with 328 additions and 218 deletions
10
Configuration/CouchbaseLiteOptions.cs
Normal file
10
Configuration/CouchbaseLiteOptions.cs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
namespace WorkTracker.Configuration;
|
||||
|
||||
public sealed class CouchbaseLiteOptions
|
||||
{
|
||||
public const string SectionName = "CouchbaseLite";
|
||||
|
||||
public string DatabaseName { get; init; } = "worktracker";
|
||||
|
||||
public string Directory { get; init; } = "App_Data/couchbase";
|
||||
}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
namespace WorkTracker.Configuration;
|
||||
|
||||
public sealed class MongoDbOptions
|
||||
{
|
||||
public const string SectionName = "MongoDb";
|
||||
|
||||
public string ConnectionString { get; init; } = "mongodb://localhost:27017";
|
||||
|
||||
public string DatabaseName { get; init; } = "worktracker";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue