4 changed files with 15044 additions and 5 deletions
-
14src/Shentun.Peis.Application/TransToWebPeis/TransToWebPeisAppService.cs
-
14964src/Shentun.Peis.EntityFrameworkCore/Migrations/20240605024928_init20240605001.Designer.cs
-
52src/Shentun.Peis.EntityFrameworkCore/Migrations/20240605024928_init20240605001.cs
-
19src/Shentun.Peis.EntityFrameworkCore/Migrations/PeisDbContextModelSnapshot.cs
14964
src/Shentun.Peis.EntityFrameworkCore/Migrations/20240605024928_init20240605001.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,52 @@ |
|||
using System; |
|||
using Microsoft.EntityFrameworkCore.Migrations; |
|||
|
|||
#nullable disable |
|||
|
|||
namespace Shentun.Peis.Migrations |
|||
{ |
|||
public partial class init20240605001 : Migration |
|||
{ |
|||
protected override void Up(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.AddColumn<char>( |
|||
name: "is_sign_in", |
|||
table: "register_check", |
|||
type: "character(1)", |
|||
maxLength: 1, |
|||
nullable: false, |
|||
defaultValueSql: "'N'", |
|||
comment: "是签收"); |
|||
|
|||
migrationBuilder.AddColumn<string>( |
|||
name: "sign_in_person", |
|||
table: "register_check", |
|||
type: "character varying(16)", |
|||
maxLength: 16, |
|||
nullable: true, |
|||
comment: "签收人姓名"); |
|||
|
|||
migrationBuilder.AddColumn<DateTime>( |
|||
name: "sign_in_time", |
|||
table: "register_check", |
|||
type: "timestamp without time zone", |
|||
nullable: true, |
|||
comment: "签收时间"); |
|||
} |
|||
|
|||
protected override void Down(MigrationBuilder migrationBuilder) |
|||
{ |
|||
migrationBuilder.DropColumn( |
|||
name: "is_sign_in", |
|||
table: "register_check"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "sign_in_person", |
|||
table: "register_check"); |
|||
|
|||
migrationBuilder.DropColumn( |
|||
name: "sign_in_time", |
|||
table: "register_check"); |
|||
} |
|||
} |
|||
} |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue