4 changed files with 15050 additions and 20 deletions
-
7src/Shentun.Peis.Application/TransToWebPeis/TransToWebPeisAppService.cs
-
14985src/Shentun.Peis.EntityFrameworkCore/Migrations/20240610162717_init20240610003.Designer.cs
-
54src/Shentun.Peis.EntityFrameworkCore/Migrations/20240610162717_init20240610003.cs
-
24src/Shentun.Peis.EntityFrameworkCore/Migrations/PeisDbContextModelSnapshot.cs
14985
src/Shentun.Peis.EntityFrameworkCore/Migrations/20240610162717_init20240610003.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,54 @@ |
|||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
#nullable disable |
||||
|
|
||||
|
namespace Shentun.Peis.Migrations |
||||
|
{ |
||||
|
public partial class init20240610003 : Migration |
||||
|
{ |
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "is_disable_pregnancy", |
||||
|
table: "asbitem"); |
||||
|
|
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "is_disable_prepare_pregnancy", |
||||
|
table: "asbitem"); |
||||
|
|
||||
|
migrationBuilder.AddColumn<char>( |
||||
|
name: "pregnant_flag", |
||||
|
table: "asbitem", |
||||
|
type: "character(1)", |
||||
|
maxLength: 1, |
||||
|
nullable: false, |
||||
|
defaultValueSql: "'A'", |
||||
|
comment: "备怀孕期间禁止检查"); |
||||
|
} |
||||
|
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "pregnant_flag", |
||||
|
table: "asbitem"); |
||||
|
|
||||
|
migrationBuilder.AddColumn<char>( |
||||
|
name: "is_disable_pregnancy", |
||||
|
table: "asbitem", |
||||
|
type: "character(1)", |
||||
|
maxLength: 1, |
||||
|
nullable: false, |
||||
|
defaultValueSql: "'N'", |
||||
|
comment: "怀孕期间禁止检查"); |
||||
|
|
||||
|
migrationBuilder.AddColumn<char>( |
||||
|
name: "is_disable_prepare_pregnancy", |
||||
|
table: "asbitem", |
||||
|
type: "character(1)", |
||||
|
maxLength: 1, |
||||
|
nullable: false, |
||||
|
defaultValueSql: "'N'", |
||||
|
comment: "备孕期间禁止检查"); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue