using Microsoft.EntityFrameworkCore.Migrations; namespace NadekoBot.Migrations { public partial class CurrencyTransaction : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "CurrencyTransactions", columns: table => new { Id = table.Column(nullable: false) .Annotation("Autoincrement", true), Amount = table.Column(nullable: false), Reason = table.Column(nullable: true), UserId = table.Column(nullable: false) }, constraints: table => { table.PrimaryKey("PK_CurrencyTransactions", x => x.Id); }); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "CurrencyTransactions"); } } }