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),
|
DiscordGuildId = table.Column<ulong>(nullable: false),
|
||||||
TargetId = table.Column<ulong>(nullable: false),
|
TargetId = table.Column<ulong>(nullable: false),
|
||||||
TargetType = table.Column<PermissionTarget>(nullable: false),
|
TargetType = table.Column<PermissionTarget>(nullable: false),
|
||||||
Command = table.Column<string>(nullable: false)
|
Command = table.Column<string>(nullable: false, maxLength: 128)
|
||||||
},
|
},
|
||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
|
|||||||
@ -14,6 +14,7 @@ namespace ChaosBot.Models
|
|||||||
[Required]
|
[Required]
|
||||||
public int TargetType { get; set; }
|
public int TargetType { get; set; }
|
||||||
[Required]
|
[Required]
|
||||||
|
[MaxLength(128)]
|
||||||
public string Command { get; set; }
|
public string Command { get; set; }
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user