using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace EveryThing.Migrations { public partial class _10 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "Buyer", table: "CodeTablePartners", type: "tinyint(1)", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "Supplier", table: "CodeTablePartners", type: "tinyint(1)", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "CodeTableItemType", table: "CodeTableItems", type: "int", nullable: false, defaultValue: 0); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "Buyer", table: "CodeTablePartners"); migrationBuilder.DropColumn( name: "Supplier", table: "CodeTablePartners"); migrationBuilder.DropColumn( name: "CodeTableItemType", table: "CodeTableItems"); } } }