4 changed files with 14296 additions and 6 deletions
-
15src/Shentun.Peis.Application/DataMigrations/BaseDataHandleAppService.cs
-
14253src/Shentun.Peis.EntityFrameworkCore/Migrations/20240508032316_init20240508001.Designer.cs
-
27src/Shentun.Peis.EntityFrameworkCore/Migrations/20240508032316_init20240508001.cs
-
7src/Shentun.Peis.EntityFrameworkCore/Migrations/PeisDbContextModelSnapshot.cs
14253
src/Shentun.Peis.EntityFrameworkCore/Migrations/20240508032316_init20240508001.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,27 @@ |
|||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
#nullable disable |
||||
|
|
||||
|
namespace Shentun.Peis.Migrations |
||||
|
{ |
||||
|
public partial class init20240508001 : Migration |
||||
|
{ |
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.AddColumn<char>( |
||||
|
name: "is_check_request", |
||||
|
table: "item_type", |
||||
|
type: "character(1)", |
||||
|
nullable: false, |
||||
|
defaultValueSql: "'N'", |
||||
|
comment: "支持检查申请"); |
||||
|
} |
||||
|
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "is_check_request", |
||||
|
table: "item_type"); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue