Added order image and description upload

This commit is contained in:
2025-11-30 10:48:08 +01:00
parent b005975c81
commit 1bce61267a
13 changed files with 974 additions and 2 deletions

View File

@@ -0,0 +1,38 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace OneForMe.Migrations
{
/// <inheritdoc />
public partial class AddAdditionalInfoAndImagePath : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "AdditionalInfo",
table: "Orders",
type: "TEXT",
nullable: true);
migrationBuilder.AddColumn<string>(
name: "ImagePath",
table: "Orders",
type: "TEXT",
nullable: true);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "AdditionalInfo",
table: "Orders");
migrationBuilder.DropColumn(
name: "ImagePath",
table: "Orders");
}
}
}