Files
zap-stream-api/NostrStreamer/Migrations/20230731124217_StreamId.cs

29 lines
726 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace NostrStreamer.Migrations
{
/// <inheritdoc />
public partial class StreamId : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.RenameColumn(
name: "ClientId",
table: "Streams",
newName: "StreamId");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.RenameColumn(
name: "StreamId",
table: "Streams",
newName: "ClientId");
}
}
}