using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace KfChatDotNetBot.Migrations { /// public partial class Chipsgg : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "ChipsggBets", columns: table => new { Id = table.Column(type: "INTEGER", nullable: false) .Annotation("Sqlite:Autoincrement", true), Created = table.Column(type: "TEXT", nullable: false), Updated = table.Column(type: "TEXT", nullable: false), UserId = table.Column(type: "TEXT", nullable: false), Username = table.Column(type: "TEXT", nullable: false), Win = table.Column(type: "INTEGER", nullable: false), Winnings = table.Column(type: "REAL", nullable: false), GameTitle = table.Column(type: "TEXT", nullable: false), Amount = table.Column(type: "REAL", nullable: false), Multiplier = table.Column(type: "REAL", nullable: false), Currency = table.Column(type: "TEXT", nullable: false), CurrencyPrice = table.Column(type: "REAL", nullable: false), BetId = table.Column(type: "TEXT", nullable: false) }, constraints: table => { table.PrimaryKey("PK_ChipsggBets", x => x.Id); }); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "ChipsggBets"); } } }