mirror of
https://github.com/claunia/marechai.git
synced 2026-07-08 17:57:08 +00:00
- Updated the Countries column in the MobyGamesCoverDownloadStates table to allow a maximum length of 2048 characters, increasing from the previous limit of 512 characters. - Modified the corresponding model property in MobyGamesCoverDownloadState to reflect the new length constraint. - Adjusted the migration snapshot to ensure the database schema is in sync with the updated model.
48 lines
1.0 KiB
C#
48 lines
1.0 KiB
C#
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using Marechai.Data;
|
|
|
|
namespace Marechai.Database.Models;
|
|
|
|
public class MobyGamesCoverDownloadState : BaseModel<long>
|
|
{
|
|
[Required]
|
|
[StringLength(64)]
|
|
public string MobyGameId { get; set; }
|
|
|
|
public ulong SoftwareId { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(512)]
|
|
public string CoverPageUrl { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(1024)]
|
|
public string CoverType { get; set; }
|
|
|
|
[Required]
|
|
[StringLength(256)]
|
|
public string Platform { get; set; }
|
|
|
|
[StringLength(2048)]
|
|
public string Countries { get; set; }
|
|
|
|
[StringLength(64)]
|
|
public string GroupId { get; set; }
|
|
|
|
[Required]
|
|
public MobyGamesCoverDownloadStatus Status { get; set; }
|
|
|
|
[StringLength(1024)]
|
|
public string ErrorMessage { get; set; }
|
|
|
|
public DateTime? ProcessedOn { get; set; }
|
|
|
|
public Guid? SoftwareCoverId { get; set; }
|
|
|
|
public ulong? SoftwareReleaseId { get; set; }
|
|
|
|
[StringLength(1024)]
|
|
public string OriginalUrl { get; set; }
|
|
}
|