prvi
This commit is contained in:
48
EveryThing/Migrations/20220926142447_10.cs
Normal file
48
EveryThing/Migrations/20220926142447_10.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace EveryThing.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");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user