namespace TarninaHub.Infrastructure.Settings; public sealed class SurrealDbSettings { public string Namespace { get; set; } = "hubmi"; public string Database { get; set; } = "hubmi"; public string DataDirectory { get; set; } = "data"; /// /// Directory (relative to the app base directory) with ordered *.surql /// migration files applied at startup. Copied from backend/migrations. /// public string MigrationsDirectory { get; set; } = "migrations"; /// /// When set (e.g. ws://127.0.0.1:8010/rpc), the backend connects to a /// dedicated SurrealDB server instead of the embedded RocksDB engine. /// The server must persist to ./data, not to memory. /// public string? RemoteUrl { get; set; } public string? Username { get; set; } public string? Password { get; set; } }