23 lines
651 B
C#
23 lines
651 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace Nashel.Modules.Order.Infrastructure.Migrations
|
|
{
|
|
public partial class FixDisputeData : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.Sql(@"
|
|
UPDATE ordering.""OrderDisputes""
|
|
SET ""Status"" = 'WaitingForPerformer'
|
|
WHERE ""Status"" NOT IN ('WaitingForPerformer', 'WaitingForCustomer', 'Resolved', 'InArbitration');
|
|
");
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
}
|
|
}
|
|
}
|