forked from adam/discord-bot-shtik
All checks were successful
gitea.arg.rip/vassago/pipeline/head This commit looks good
see #19. see #9.
29 lines
741 B
C#
29 lines
741 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace vassago.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class TranslatedMessages : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "TranslatedContent",
|
|
table: "Messages",
|
|
type: "text",
|
|
nullable: true);
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "TranslatedContent",
|
|
table: "Messages");
|
|
}
|
|
}
|
|
}
|