sunpengfei
19 小时以前 fd1d2c1d5f519ddb4667019d6685ff270ad6716b
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
using Microsoft.EntityFrameworkCore.Migrations;
 
#nullable disable
 
namespace FlexJobApi.Database.Migrations.Migrations
{
    /// <inheritdoc />
    public partial class UpdateEnterpriseWallet0911 : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "Account",
                table: "EnterpriseWallet");
 
            migrationBuilder.DropColumn(
                name: "MerchantId",
                table: "EnterpriseWallet");
        }
 
        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "Account",
                table: "EnterpriseWallet",
                type: "nvarchar(max)",
                nullable: true);
 
            migrationBuilder.AddColumn<string>(
                name: "MerchantId",
                table: "EnterpriseWallet",
                type: "nvarchar(max)",
                nullable: true);
        }
    }
}