Files
Sharpbin/SharpbinV3.Server/Migrations/20251125055340_PasteContent.cs
2026-01-09 15:24:19 -05:00

29 lines
722 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace SharpbinV3.Server.Migrations
{
/// <inheritdoc />
public partial class PasteContent : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.RenameColumn(
name: "Data",
table: "Pastes",
newName: "Content");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.RenameColumn(
name: "Content",
table: "Pastes",
newName: "Data");
}
}
}