feat(engine): add FinlyticEngine microservice with trade lifecycle, AI reasoning gate, composite scoring, and unit tests
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FinlyticEngine.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class AddUniqueIndexUserIdProposalId : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_engine_trades_UserId_ProposalId",
|
||||
table: "engine_trades",
|
||||
columns: new[] { "UserId", "ProposalId" },
|
||||
unique: true,
|
||||
filter: "\"ProposalId\" <> '00000000-0000-0000-0000-000000000000'");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropIndex(
|
||||
name: "IX_engine_trades_UserId_ProposalId",
|
||||
table: "engine_trades");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user