Removing Blob/LongText from CommandPermissions.
This commit is contained in:
parent
5604d0132d
commit
63f688de9c
@ -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 =>
|
||||
{
|
||||
|
||||
@ -14,6 +14,7 @@ namespace ChaosBot.Models
|
||||
[Required]
|
||||
public int TargetType { get; set; }
|
||||
[Required]
|
||||
[MaxLength(128)]
|
||||
public string Command { get; set; }
|
||||
}
|
||||
#endregion
|
||||
|
||||
Loading…
Reference in New Issue
Block a user