fix #5897 - allow SQLite to drop columns, remove deprecated columns, and handle upgrade logic
This commit is contained in:
@@ -67,13 +67,6 @@ namespace Oqtane.Models
|
||||
/// </summary>
|
||||
public string CacheControl { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 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; }
|
||||
|
||||
/// <summary>
|
||||
/// TODO: todoc what would this contain?
|
||||
/// </summary>
|
||||
@@ -110,6 +103,11 @@ namespace Oqtane.Models
|
||||
}
|
||||
}
|
||||
|
||||
[Obsolete("The IsDeleted property is deprecated. Soft delete of folders is not supported.", false)]
|
||||
[NotMapped]
|
||||
[JsonIgnore] // exclude from API payload
|
||||
public bool? IsDeleted { get; set; }
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user