mirror of
https://github.com/RedWizardsLab/EchoHub.git
synced 2026-09-04 08:36:11 +02:00
30 lines
764 B
C#
30 lines
764 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace EchoHub.Server.Data.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class AddMessageEmbed : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "EmbedJson",
|
|
table: "Messages",
|
|
type: "TEXT",
|
|
maxLength: 8000,
|
|
nullable: true);
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "EmbedJson",
|
|
table: "Messages");
|
|
}
|
|
}
|
|
}
|