28 lines
856 B
C#
28 lines
856 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace FinlyticAssets.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class SyncAssetModelDrift : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.CreateIndex(
|
|
name: "IX_Derivatives_UnderlyingIsin_OptionType_Leverage_Barrier",
|
|
table: "Derivatives",
|
|
columns: new[] { "UnderlyingIsin", "OptionType", "Leverage", "Barrier" });
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropIndex(
|
|
name: "IX_Derivatives_UnderlyingIsin_OptionType_Leverage_Barrier",
|
|
table: "Derivatives");
|
|
}
|
|
}
|
|
}
|