sunpengfei
2025-08-14 91e5aa12737d67a64773f8a7ea7fbc0926df76d8
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
using Microsoft.EntityFrameworkCore.Migrations;
 
#nullable disable
 
namespace FlexJobApi.Database.Migrations.Migrations
{
    /// <inheritdoc />
    public partial class UpdateDictionaryData0807 : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<string>(
                name: "Code",
                table: "TaskInfo",
                type: "nvarchar(max)",
                nullable: true);
 
            migrationBuilder.AddColumn<int>(
                name: "ReleaseStatus",
                table: "TaskInfo",
                type: "int",
                nullable: false,
                defaultValue: 0);
 
            migrationBuilder.AddColumn<int>(
                name: "Status",
                table: "TaskInfo",
                type: "int",
                nullable: false,
                defaultValue: 0);
 
            migrationBuilder.AddColumn<int>(
                name: "Deep",
                table: "DictionaryData",
                type: "int",
                nullable: false,
                defaultValue: 0);
        }
 
        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "Code",
                table: "TaskInfo");
 
            migrationBuilder.DropColumn(
                name: "ReleaseStatus",
                table: "TaskInfo");
 
            migrationBuilder.DropColumn(
                name: "Status",
                table: "TaskInfo");
 
            migrationBuilder.DropColumn(
                name: "Deep",
                table: "DictionaryData");
        }
    }
}