using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace BLAIzor.Migrations { /// public partial class addVoiceInformation : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "Entity", table: "SiteInfos", type: "nvarchar(max)", nullable: true); migrationBuilder.AddColumn( name: "Persona", table: "SiteInfos", type: "nvarchar(max)", nullable: true); migrationBuilder.AddColumn( name: "voiceId", table: "SiteInfos", type: "nvarchar(max)", nullable: true); migrationBuilder.UpdateData( table: "SiteInfos", keyColumn: "Id", keyValue: 1, columns: new[] { "Entity", "Persona", "voiceId" }, values: new object[] { null, null, null }); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "Entity", table: "SiteInfos"); migrationBuilder.DropColumn( name: "Persona", table: "SiteInfos"); migrationBuilder.DropColumn( name: "voiceId", table: "SiteInfos"); } } }