using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace KfChatDotNetBot.Migrations
{
///
public partial class Rainbet : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "RainbetBets",
columns: table => new
{
Id = table.Column(type: "INTEGER", nullable: false)
.Annotation("Sqlite:Autoincrement", true),
PublicId = table.Column(type: "TEXT", nullable: true),
RainbetUserId = table.Column(type: "INTEGER", nullable: false),
GameName = table.Column(type: "TEXT", nullable: false),
Value = table.Column(type: "REAL", nullable: false),
Payout = table.Column(type: "REAL", nullable: false),
Multiplier = table.Column(type: "REAL", nullable: false),
BetId = table.Column(type: "INTEGER", nullable: false),
UpdatedAt = table.Column(type: "TEXT", nullable: false),
BetSeenAt = table.Column(type: "TEXT", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_RainbetBets", x => x.Id);
});
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "RainbetBets");
}
}
}