Added missing localization, fixed missing order name
This commit is contained in:
29
Migrations/20251129215458_AddOrderNameField.cs
Normal file
29
Migrations/20251129215458_AddOrderNameField.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace OneForMe.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class AddOrderNameField : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "Name",
|
||||
table: "Orders",
|
||||
type: "TEXT",
|
||||
nullable: false,
|
||||
defaultValue: "");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Name",
|
||||
table: "Orders");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user