modal partnerji in dodajanje pri transport plan
This commit is contained in:
2235
EveryThing/Migrations/20230723085946_4.Designer.cs
generated
Normal file
2235
EveryThing/Migrations/20230723085946_4.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
37
EveryThing/Migrations/20230723085946_4.cs
Normal file
37
EveryThing/Migrations/20230723085946_4.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace EveryThing.Migrations
|
||||
{
|
||||
public partial class _4 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<bool>(
|
||||
name: "LoadingOrderLoadUnload",
|
||||
table: "CodeTablePartners",
|
||||
type: "tinyint(1)",
|
||||
nullable: false,
|
||||
defaultValue: false);
|
||||
|
||||
migrationBuilder.AddColumn<bool>(
|
||||
name: "Transporter",
|
||||
table: "CodeTablePartners",
|
||||
type: "tinyint(1)",
|
||||
nullable: false,
|
||||
defaultValue: false);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "LoadingOrderLoadUnload",
|
||||
table: "CodeTablePartners");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Transporter",
|
||||
table: "CodeTablePartners");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -347,6 +347,9 @@ namespace EveryThing.Migrations
|
||||
b.Property<int>("IdCountryFk")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<bool>("LoadingOrderLoadUnload")
|
||||
.HasColumnType("tinyint(1)");
|
||||
|
||||
b.Property<string>("Post")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext");
|
||||
@@ -371,6 +374,9 @@ namespace EveryThing.Migrations
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<bool>("Transporter")
|
||||
.HasColumnType("tinyint(1)");
|
||||
|
||||
b.HasKey("IdPartner");
|
||||
|
||||
b.HasIndex("IdCompanyFk");
|
||||
|
||||
Reference in New Issue
Block a user