30 lines
814 B
C#
30 lines
814 B
C#
|
|
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");
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|