using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace Infrastructure.Persistence.Migrations { /// public partial class UpdateRankConfig : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropIndex( name: "IX_DonationRankConfig_ChannelID_MemberID", table: "DonationRankConfig"); migrationBuilder.CreateIndex( name: "IX_DonationRankConfig_ChannelID", table: "DonationRankConfig", column: "ChannelID"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropIndex( name: "IX_DonationRankConfig_ChannelID", table: "DonationRankConfig"); migrationBuilder.CreateIndex( name: "IX_DonationRankConfig_ChannelID_MemberID", table: "DonationRankConfig", columns: new[] { "ChannelID", "MemberID" }, unique: true); } } }