Removing Blob/LongText from CommandPermissions.

This commit is contained in:
Sean "Solao Bajiuik" Stoves 2020-08-04 17:47:21 -04:00
parent 5604d0132d
commit 63f688de9c
2 changed files with 2 additions and 1 deletions

View File

@ -18,7 +18,7 @@ namespace ChaosBot.Migrations
DiscordGuildId = table.Column<ulong>(nullable: false),
TargetId = table.Column<ulong>(nullable: false),
TargetType = table.Column<PermissionTarget>(nullable: false),
Command = table.Column<string>(nullable: false)
Command = table.Column<string>(nullable: false, maxLength: 128)
},
constraints: table =>
{

View File

@ -14,6 +14,7 @@ namespace ChaosBot.Models
[Required]
public int TargetType { get; set; }
[Required]
[MaxLength(128)]
public string Command { get; set; }
}
#endregion