fix #2567 - migrate tenant connection string details from database to appsettings.json

This commit is contained in:
Shaun Walker
2023-02-23 16:29:15 -05:00
parent 71dd00da0f
commit f2df8e96db
33 changed files with 562 additions and 309 deletions

View File

@ -8,7 +8,8 @@ namespace Oqtane.Models
/// Reference to the <see cref="Tenant"/> this belongs to
/// </summary>
public int TenantId { get; set; }
public string DBType { get; set; }
public string DBConnectionString { get; set; }
public string Query { get; set; }
public List<Dictionary<string, string>> Results { get; set; }
}

View File

@ -11,6 +11,7 @@ namespace Oqtane.Shared
public const string UpdaterPackageId = "Oqtane.Updater";
public const string PackageRegistryUrl = "https://www.oqtane.net";
public const string DataDirectory = "DataDirectory";
public const string DefaultDBType = "Oqtane.Database.SqlServer.SqlServerDatabase, Oqtane.Database.SqlServer";
public const string PageComponent = "Oqtane.UI.ThemeBuilder, Oqtane.Client";