Files
everything/ProjecThing/Migrations/20220926142447_10.cs
2026-06-16 18:04:55 +02:00

49 lines
1.4 KiB
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace ProjecThing.Migrations
{
public partial class _10 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "Buyer",
table: "CodeTablePartners",
type: "tinyint(1)",
nullable: false,
defaultValue: false);
migrationBuilder.AddColumn<bool>(
name: "Supplier",
table: "CodeTablePartners",
type: "tinyint(1)",
nullable: false,
defaultValue: false);
migrationBuilder.AddColumn<int>(
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");
}
}
}