✈️ Better migration to new cloud files reference system
This commit is contained in:
		| @@ -24,7 +24,7 @@ public class RemoteStorageConfig | ||||
| /// The class that used in jsonb columns which referenced the cloud file. | ||||
| /// The aim of this class is to store some properties that won't change to a file to reduce the database load. | ||||
| /// </summary> | ||||
| public class CloudFileReferenceObject : ICloudFile | ||||
| public class CloudFileReferenceObject : ModelBase, ICloudFile | ||||
| { | ||||
|     public string Id { get; set; } = null!; | ||||
|     public string Name { get; set; } = string.Empty; | ||||
| @@ -75,6 +75,9 @@ public class CloudFile : ModelBase, ICloudFile, IIdentifiedResource | ||||
|     { | ||||
|         return new CloudFileReferenceObject | ||||
|         { | ||||
|             CreatedAt = CreatedAt, | ||||
|             UpdatedAt = UpdatedAt, | ||||
|             DeletedAt = DeletedAt, | ||||
|             Id = Id, | ||||
|             Name = Name, | ||||
|             FileMeta = FileMeta, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user