Files
marechai/Marechai.Database/Models/SoftwareAttribute.cs
Natalia Portillo 48a365f8c8 Widen SoftwareAttribute Value column to 2048 characters
- Updated the 'Value' column in the 'SoftwareAttributes' table to allow a maximum length of 2048 characters, increasing from the previous limit of 512 characters.
- Modified the corresponding model property in SoftwareAttribute.cs to reflect the new maximum length.
- Updated the migration snapshot to ensure the database schema is in sync with the model changes.
2026-06-02 00:28:46 +01:00

22 lines
505 B
C#

using System.ComponentModel.DataAnnotations;
namespace Marechai.Database.Models;
public class SoftwareAttribute : BaseModel<long>
{
public ulong SoftwareReleaseId { get; set; }
public virtual SoftwareRelease SoftwareRelease { get; set; }
[Required]
[StringLength(64)]
public string Category { get; set; }
[Required]
[StringLength(128)]
public string Key { get; set; }
[Required]
[StringLength(2048)]
public string Value { get; set; }
}