6 changed files with 13505 additions and 33 deletions
-
5src/Shentun.Peis.Application.Contracts/ResultStatuses/UpdateResultStatusDto.cs
-
2src/Shentun.Peis.Application/ResultStatuses/ResultStatusAppService.cs
-
23src/Shentun.Peis.Domain/ResultStatuses/ResultStatusManager.cs
-
13429src/Shentun.Peis.EntityFrameworkCore/Migrations/20240314102501_init20240314002.Designer.cs
-
49src/Shentun.Peis.EntityFrameworkCore/Migrations/20240314102501_init20240314002.cs
-
22src/Shentun.Peis.EntityFrameworkCore/Migrations/PeisDbContextModelSnapshot.cs
13429
src/Shentun.Peis.EntityFrameworkCore/Migrations/20240314102501_init20240314002.Designer.cs
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,49 @@ |
|||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
#nullable disable |
||||
|
|
||||
|
namespace Shentun.Peis.Migrations |
||||
|
{ |
||||
|
public partial class init20240314002 : Migration |
||||
|
{ |
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.RenameColumn( |
||||
|
name: "card_flag", |
||||
|
table: "card_register", |
||||
|
newName: "is_active"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "display_name", |
||||
|
table: "result_status", |
||||
|
type: "character varying(20)", |
||||
|
maxLength: 20, |
||||
|
nullable: false, |
||||
|
defaultValue: "", |
||||
|
comment: "名称", |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "character varying(20)", |
||||
|
oldMaxLength: 20, |
||||
|
oldNullable: true); |
||||
|
} |
||||
|
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.RenameColumn( |
||||
|
name: "is_active", |
||||
|
table: "card_register", |
||||
|
newName: "card_flag"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<string>( |
||||
|
name: "display_name", |
||||
|
table: "result_status", |
||||
|
type: "character varying(20)", |
||||
|
maxLength: 20, |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(string), |
||||
|
oldType: "character varying(20)", |
||||
|
oldMaxLength: 20, |
||||
|
oldComment: "名称"); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue