sunpengfei
1 天以前 285404b0f7161ceca8621e61026682bbbb3f71aa
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
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");
        }
    }
}