mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
36 lines
998 B
C#
36 lines
998 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace NadekoBot.Migrations.Mysql
|
|
{
|
|
public partial class logthread : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<ulong>(
|
|
name: "threadcreatedid",
|
|
table: "logsettings",
|
|
type: "bigint unsigned",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<ulong>(
|
|
name: "threaddeletedid",
|
|
table: "logsettings",
|
|
type: "bigint unsigned",
|
|
nullable: true);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "threadcreatedid",
|
|
table: "logsettings");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "threaddeletedid",
|
|
table: "logsettings");
|
|
}
|
|
}
|
|
}
|