c5375b661b
broke data out into its own library. may be breaking changes with existing plugins
23 lines
660 B
C#
23 lines
660 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace Data.Migrations.MySql
|
|
{
|
|
public partial class AddIndexToMessageTimeSent : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.CreateIndex(
|
|
name: "IX_EFClientMessages_TimeSent",
|
|
table: "EFClientMessages",
|
|
column: "TimeSent");
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropIndex(
|
|
name: "IX_EFClientMessages_TimeSent",
|
|
table: "EFClientMessages");
|
|
}
|
|
}
|
|
}
|