mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 09:18:27 -04:00
32 lines
903 B
C#
32 lines
903 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace NadekoBot.Migrations
|
|
{
|
|
public partial class reminderswhenindex : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropIndex(
|
|
name: "IX_Reminders_DateAdded",
|
|
table: "Reminders");
|
|
|
|
migrationBuilder.CreateIndex(
|
|
name: "IX_Reminders_When",
|
|
table: "Reminders",
|
|
column: "When");
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropIndex(
|
|
name: "IX_Reminders_When",
|
|
table: "Reminders");
|
|
|
|
migrationBuilder.CreateIndex(
|
|
name: "IX_Reminders_DateAdded",
|
|
table: "Reminders",
|
|
column: "DateAdded");
|
|
}
|
|
}
|
|
}
|