sunpengfei
2025-08-20 b15ba0723040b5e9a348662a09af824f2d5ae9e6
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
using System;
using Microsoft.EntityFrameworkCore.Migrations;
 
#nullable disable
 
namespace FlexJobApi.Database.Migrations.Migrations
{
    /// <inheritdoc />
    public partial class UpdateTaskInfo0819 : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<DateTime>(
                name: "RecommendTime",
                table: "TaskInfo",
                type: "datetime2",
                nullable: true);
 
            migrationBuilder.AddColumn<DateTime>(
                name: "SettlementTime",
                table: "TaskInfo",
                type: "datetime2",
                nullable: true);
        }
 
        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "RecommendTime",
                table: "TaskInfo");
 
            migrationBuilder.DropColumn(
                name: "SettlementTime",
                table: "TaskInfo");
        }
    }
}