Added order image and description upload
This commit is contained in:
38
Migrations/20251130093329_AddAdditionalInfoAndImagePath.cs
Normal file
38
Migrations/20251130093329_AddAdditionalInfoAndImagePath.cs
Normal 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");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user