refactor(assets): update asset entity mappings, database migrations, and MQTT RPC handlers
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
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");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user