using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; namespace Kehyeedra3.Migrations { public partial class Fishing : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( name: "Fishing", columns: table => new { Id = table.Column(nullable: false) .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn), LastFish = table.Column(nullable: false), Xp = table.Column(nullable: false), TXp = table.Column(nullable: false), Lvl = table.Column(nullable: false), CFish1 = table.Column(nullable: false), CFish2 = table.Column(nullable: false), CFish3 = table.Column(nullable: false), UFish1 = table.Column(nullable: false), UFish2 = table.Column(nullable: false), UFish3 = table.Column(nullable: false), RFish1 = table.Column(nullable: false), RFish2 = table.Column(nullable: false), RFish3 = table.Column(nullable: false), LFish = table.Column(nullable: false) }, constraints: table => { table.PrimaryKey("PK_Fishing", x => x.Id); }); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropTable( name: "Fishing"); } } }