small migration fix for MySql

This commit is contained in:
RaidMax
2019-02-22 19:35:03 -06:00
parent 4b1f44cc2a
commit de69bed792
3 changed files with 15 additions and 4 deletions

View File

@ -23,6 +23,8 @@ namespace SharedLibraryCore.Database.Models
public virtual EFClient Client { get; set; }
[Required]
[MinLength(3)]
[StringLength(32)]
[MaxLength(32)]
public string Key { get; set; }
[Required]
public string Value { get; set; }