Files
Chatbot-ElDia/ChatbotApi/Migrations/20251125135810_AddSelectorContenidoToFuentes.cs

30 lines
814 B
C#
Raw Permalink Normal View History

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace ChatbotApi.Migrations
{
/// <inheritdoc />
public partial class AddSelectorContenidoToFuentes : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "SelectorContenido",
table: "FuentesDeContexto",
type: "nvarchar(200)",
maxLength: 200,
nullable: true);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "SelectorContenido",
table: "FuentesDeContexto");
}
}
}