using System;
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
#nullable disable
|
|
namespace FlexJobApi.Database.Migrations.Migrations
|
{
|
/// <inheritdoc />
|
public partial class UpdateEnterpriseWallet0904002 : Migration
|
{
|
/// <inheritdoc />
|
protected override void Up(MigrationBuilder migrationBuilder)
|
{
|
migrationBuilder.AddColumn<DateTime>(
|
name: "ArrivalTimeEnd",
|
table: "EnterpriseWalletTransaction",
|
type: "datetime2",
|
nullable: true);
|
|
migrationBuilder.AddColumn<string>(
|
name: "ErrorCode",
|
table: "EnterpriseWalletTransaction",
|
type: "nvarchar(max)",
|
nullable: true);
|
|
migrationBuilder.AddColumn<string>(
|
name: "FailInstErrorCode",
|
table: "EnterpriseWalletTransaction",
|
type: "nvarchar(max)",
|
nullable: true);
|
|
migrationBuilder.AddColumn<string>(
|
name: "FailInstName",
|
table: "EnterpriseWalletTransaction",
|
type: "nvarchar(max)",
|
nullable: true);
|
|
migrationBuilder.AddColumn<string>(
|
name: "FailInstReason",
|
table: "EnterpriseWalletTransaction",
|
type: "nvarchar(max)",
|
nullable: true);
|
|
migrationBuilder.AddColumn<string>(
|
name: "FailReason",
|
table: "EnterpriseWalletTransaction",
|
type: "nvarchar(max)",
|
nullable: true);
|
|
migrationBuilder.AddColumn<string>(
|
name: "InflowSettleSerialNo",
|
table: "EnterpriseWalletTransaction",
|
type: "nvarchar(max)",
|
nullable: true);
|
|
migrationBuilder.AddColumn<decimal>(
|
name: "OrderFee",
|
table: "EnterpriseWalletTransaction",
|
type: "decimal(18,2)",
|
nullable: true);
|
|
migrationBuilder.AddColumn<string>(
|
name: "ReceiverOpenId",
|
table: "EnterpriseWalletTransaction",
|
type: "nvarchar(max)",
|
nullable: true);
|
|
migrationBuilder.AddColumn<string>(
|
name: "ReceiverUserId",
|
table: "EnterpriseWalletTransaction",
|
type: "nvarchar(max)",
|
nullable: true);
|
}
|
|
/// <inheritdoc />
|
protected override void Down(MigrationBuilder migrationBuilder)
|
{
|
migrationBuilder.DropColumn(
|
name: "ArrivalTimeEnd",
|
table: "EnterpriseWalletTransaction");
|
|
migrationBuilder.DropColumn(
|
name: "ErrorCode",
|
table: "EnterpriseWalletTransaction");
|
|
migrationBuilder.DropColumn(
|
name: "FailInstErrorCode",
|
table: "EnterpriseWalletTransaction");
|
|
migrationBuilder.DropColumn(
|
name: "FailInstName",
|
table: "EnterpriseWalletTransaction");
|
|
migrationBuilder.DropColumn(
|
name: "FailInstReason",
|
table: "EnterpriseWalletTransaction");
|
|
migrationBuilder.DropColumn(
|
name: "FailReason",
|
table: "EnterpriseWalletTransaction");
|
|
migrationBuilder.DropColumn(
|
name: "InflowSettleSerialNo",
|
table: "EnterpriseWalletTransaction");
|
|
migrationBuilder.DropColumn(
|
name: "OrderFee",
|
table: "EnterpriseWalletTransaction");
|
|
migrationBuilder.DropColumn(
|
name: "ReceiverOpenId",
|
table: "EnterpriseWalletTransaction");
|
|
migrationBuilder.DropColumn(
|
name: "ReceiverUserId",
|
table: "EnterpriseWalletTransaction");
|
}
|
}
|
}
|