🐛 Fixes of lotteries and enrich features
This commit is contained in:
2620
DysonNetwork.Pass/Migrations/20251024154539_AddDetailLotteriesStatus.Designer.cs
generated
Normal file
2620
DysonNetwork.Pass/Migrations/20251024154539_AddDetailLotteriesStatus.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,39 @@
|
||||
using System.Collections.Generic;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace DysonNetwork.Pass.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class AddDetailLotteriesStatus : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<List<int>>(
|
||||
name: "matched_region_one_numbers",
|
||||
table: "lotteries",
|
||||
type: "jsonb",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "matched_region_two_number",
|
||||
table: "lotteries",
|
||||
type: "integer",
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "matched_region_one_numbers",
|
||||
table: "lotteries");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "matched_region_two_number",
|
||||
table: "lotteries");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1086,6 +1086,14 @@ namespace DysonNetwork.Pass.Migrations
|
||||
.HasColumnType("integer")
|
||||
.HasColumnName("draw_status");
|
||||
|
||||
b.Property<List<int>>("MatchedRegionOneNumbers")
|
||||
.HasColumnType("jsonb")
|
||||
.HasColumnName("matched_region_one_numbers");
|
||||
|
||||
b.Property<int?>("MatchedRegionTwoNumber")
|
||||
.HasColumnType("integer")
|
||||
.HasColumnName("matched_region_two_number");
|
||||
|
||||
b.Property<int>("Multiplier")
|
||||
.HasColumnType("integer")
|
||||
.HasColumnName("multiplier");
|
||||
|
||||
Reference in New Issue
Block a user