fix #4855 - dropping required column causes issue on SQLite
This commit is contained in:
@ -29,9 +29,10 @@ namespace Oqtane.Models
|
||||
/// </summary>
|
||||
public bool IsDefault { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
/// <summary>
|
||||
/// Language Name - corresponds to <see cref="Culture.DisplayName"/>, _not_ <see cref="Culture.Name"/>
|
||||
/// Note that this property still exists in the database because columns cannot be dropped in SQLite
|
||||
/// Therefore the property must be retained/mapped even though the framework populates it from the Culture API
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
|
||||
|
Reference in New Issue
Block a user