sunpengfei
2025-08-08 7d043fd99fa51de6c0816aba75d020bf0f40b0b0
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
using Microsoft.EntityFrameworkCore.Migrations;
 
#nullable disable
 
namespace FlexJobApi.Database.Migrations.Migrations.LogDb
{
    /// <inheritdoc />
    public partial class UpdateCommonEntity : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "UpdateUserInfoId",
                table: "SmsLog",
                newName: "UpdatedUserInfoId");
 
            migrationBuilder.RenameColumn(
                name: "UpdateUserInfoId",
                table: "ResourceLog",
                newName: "UpdatedUserInfoId");
 
            migrationBuilder.RenameColumn(
                name: "UpdateUserInfoId",
                table: "QueueLog",
                newName: "UpdatedUserInfoId");
 
            migrationBuilder.RenameColumn(
                name: "UpdateUserInfoId",
                table: "ExceptionLog",
                newName: "UpdatedUserInfoId");
 
            migrationBuilder.RenameColumn(
                name: "UpdateUserInfoId",
                table: "DbAuditLog",
                newName: "UpdatedUserInfoId");
 
            migrationBuilder.RenameColumn(
                name: "UpdateUserInfoId",
                table: "ConsoleLog",
                newName: "UpdatedUserInfoId");
        }
 
        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "UpdatedUserInfoId",
                table: "SmsLog",
                newName: "UpdateUserInfoId");
 
            migrationBuilder.RenameColumn(
                name: "UpdatedUserInfoId",
                table: "ResourceLog",
                newName: "UpdateUserInfoId");
 
            migrationBuilder.RenameColumn(
                name: "UpdatedUserInfoId",
                table: "QueueLog",
                newName: "UpdateUserInfoId");
 
            migrationBuilder.RenameColumn(
                name: "UpdatedUserInfoId",
                table: "ExceptionLog",
                newName: "UpdateUserInfoId");
 
            migrationBuilder.RenameColumn(
                name: "UpdatedUserInfoId",
                table: "DbAuditLog",
                newName: "UpdateUserInfoId");
 
            migrationBuilder.RenameColumn(
                name: "UpdatedUserInfoId",
                table: "ConsoleLog",
                newName: "UpdateUserInfoId");
        }
    }
}