Add Versionning for bundle backtest request

This commit is contained in:
2025-10-23 13:37:53 +07:00
parent 6bfefc91c8
commit 92c28367cf
13 changed files with 1655 additions and 8 deletions

View File

@@ -448,6 +448,11 @@ namespace Managing.Infrastructure.Databases.Migrations
b.Property<int?>("UserId")
.HasColumnType("integer");
b.Property<int>("Version")
.ValueGeneratedOnAdd()
.HasColumnType("integer")
.HasDefaultValue(1);
b.HasKey("Id");
b.HasIndex("RequestId")
@@ -459,6 +464,8 @@ namespace Managing.Infrastructure.Databases.Migrations
b.HasIndex("UserId", "CreatedAt");
b.HasIndex("UserId", "Name", "Version");
b.ToTable("BundleBacktestRequests");
});