using System;
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
#nullable disable
|
|
namespace FlexJobApi.Database.Migrations.Migrations
|
{
|
/// <inheritdoc />
|
public partial class UpdateEnterpriseWallet0910002 : Migration
|
{
|
/// <inheritdoc />
|
protected override void Up(MigrationBuilder migrationBuilder)
|
{
|
migrationBuilder.AddColumn<DateTime>(
|
name: "ArrivalTimeEnd",
|
table: "UserWalletTransaction",
|
type: "datetime2",
|
nullable: true);
|
|
migrationBuilder.AddColumn<string>(
|
name: "ErrorCode",
|
table: "UserWalletTransaction",
|
type: "nvarchar(max)",
|
nullable: true);
|
|
migrationBuilder.AddColumn<string>(
|
name: "FailReason",
|
table: "UserWalletTransaction",
|
type: "nvarchar(max)",
|
nullable: true);
|
}
|
|
/// <inheritdoc />
|
protected override void Down(MigrationBuilder migrationBuilder)
|
{
|
migrationBuilder.DropColumn(
|
name: "ArrivalTimeEnd",
|
table: "UserWalletTransaction");
|
|
migrationBuilder.DropColumn(
|
name: "ErrorCode",
|
table: "UserWalletTransaction");
|
|
migrationBuilder.DropColumn(
|
name: "FailReason",
|
table: "UserWalletTransaction");
|
}
|
}
|
}
|