mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 09:48:26 -04:00
Added giveaway commands .ga start/end/cancel/reroll/list
This commit is contained in:
@@ -12,7 +12,7 @@ using Nadeko.Bot.Db;
|
||||
namespace NadekoBot.Db.Migrations.Mysql
|
||||
{
|
||||
[DbContext(typeof(MysqlContext))]
|
||||
[Migration("20240424152958_giveaway")]
|
||||
[Migration("20240424203922_giveaway")]
|
||||
partial class giveaway
|
||||
{
|
||||
/// <inheritdoc />
|
||||
@@ -3085,6 +3085,10 @@ namespace NadekoBot.Db.Migrations.Mysql
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<ulong>("ChannelId")
|
||||
.HasColumnType("bigint unsigned")
|
||||
.HasColumnName("channelid");
|
||||
|
||||
b.Property<DateTime>("EndsAt")
|
||||
.HasColumnType("datetime(6)")
|
||||
.HasColumnName("endsat");
|
@@ -20,6 +20,7 @@ namespace NadekoBot.Db.Migrations.Mysql
|
||||
.Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn),
|
||||
guildid = table.Column<ulong>(type: "bigint unsigned", nullable: false),
|
||||
messageid = table.Column<ulong>(type: "bigint unsigned", nullable: false),
|
||||
channelid = table.Column<ulong>(type: "bigint unsigned", nullable: false),
|
||||
message = table.Column<string>(type: "longtext", nullable: false)
|
||||
.Annotation("MySql:CharSet", "utf8mb4"),
|
||||
endsat = table.Column<DateTime>(type: "datetime(6)", nullable: false)
|
@@ -3082,6 +3082,10 @@ namespace NadekoBot.Db.Migrations.Mysql
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<ulong>("ChannelId")
|
||||
.HasColumnType("bigint unsigned")
|
||||
.HasColumnName("channelid");
|
||||
|
||||
b.Property<DateTime>("EndsAt")
|
||||
.HasColumnType("datetime(6)")
|
||||
.HasColumnName("endsat");
|
||||
|
Reference in New Issue
Block a user