using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace ChatbotApi.Migrations { /// public partial class InitialCreate : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "ContextoItems", columns: table => new { Id = table.Column(type: "int", nullable: false) .Annotation("SqlServer:Identity", "1, 1"), Clave = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), Valor = table.Column(type: "nvarchar(max)", nullable: false), Descripcion = table.Column(type: "nvarchar(max)", nullable: true), FechaActualizacion = table.Column(type: "datetime2", nullable: false) }, constraints: table => { table.PrimaryKey("PK_ContextoItems", x => x.Id); }); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "ContextoItems"); } } }