sunpengfei
7 天以前 5262f7b77aea5cf8c1543f48b34f311665d61518
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
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");
        }
    }
}