Skip to content

Commit

Permalink
something is wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
amg262 committed Apr 5, 2024
1 parent 62b538e commit 03bde96
Show file tree
Hide file tree
Showing 6 changed files with 376 additions and 7 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace AuctionService.Data.Migrations
{
/// <inheritdoc />
public partial class AddedParcelToAuctionItems : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<float>(
name: "Height",
table: "Items",
type: "real",
nullable: true);

migrationBuilder.AddColumn<float>(
name: "Length",
table: "Items",
type: "real",
nullable: true);

migrationBuilder.AddColumn<float>(
name: "Weight",
table: "Items",
type: "real",
nullable: true);

migrationBuilder.AddColumn<float>(
name: "Width",
table: "Items",
type: "real",
nullable: true);
}

/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Height",
table: "Items");

migrationBuilder.DropColumn(
name: "Length",
table: "Items");

migrationBuilder.DropColumn(
name: "Weight",
table: "Items");

migrationBuilder.DropColumn(
name: "Width",
table: "Items");
}
}
}
Loading

0 comments on commit 03bde96

Please sign in to comment.