using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Elecciones.Database.Migrations
{
///
public partial class AddConfiguracionTable : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Configuraciones",
columns: table => new
{
Clave = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false),
Valor = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_Configuraciones", x => x.Clave);
});
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "Configuraciones");
}
}
}