fix #4855 - dropping required column causes issue on SQLite
This commit is contained in:
@ -56,7 +56,9 @@ namespace Oqtane.Models
|
||||
public string Description { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Deprecated - not used
|
||||
/// Deprecated
|
||||
/// 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 no longer uses it
|
||||
/// </summary>
|
||||
public bool? IsDeleted { get; set; }
|
||||
|
||||
|
@ -63,7 +63,9 @@ namespace Oqtane.Models
|
||||
public bool IsSystem { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Deprecated - not used
|
||||
/// Deprecated
|
||||
/// 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 no longer uses it
|
||||
/// </summary>
|
||||
public bool? IsDeleted { get; set; }
|
||||
|
||||
|
@ -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