set the DefaultDBType as the default database option in the Installer and Add Site UI

This commit is contained in:
Shaun Walker
2021-06-11 08:43:46 -04:00
parent aa5aca3a8e
commit 8f944e29ac
4 changed files with 33 additions and 5 deletions

View File

@ -19,5 +19,10 @@ namespace Oqtane.Models
/// Type of DB using the full namespace, like `Oqtane.Database.SqlServer.SqlServerDatabase, Oqtane.Database.SqlServer`
/// </summary>
public string DBType { get; set; }
/// <summary>
/// whether this item is the default database provider ( ie. specified by DefaultDBType in appsettings.json )
/// </summary>
public bool IsDefault { get; set; }
}
}