6 changed files with 16236 additions and 10 deletions
-
10src/Shentun.Peis.Application/RegisterChecks/RegisterCheckAppService.cs
-
4src/Shentun.Peis.DbMigrator/appsettings.json
-
16126src/Shentun.Peis.EntityFrameworkCore/Migrations/20241115014450_add_doctor_sign_in.Designer.cs
-
39src/Shentun.Peis.EntityFrameworkCore/Migrations/20241115014450_add_doctor_sign_in.cs
-
55src/Shentun.Peis.EntityFrameworkCore/Migrations/PeisDbContextModelSnapshot.cs
-
12src/Shentun.Peis.HttpApi.Host/appsettings.json
16126
src/Shentun.Peis.EntityFrameworkCore/Migrations/20241115014450_add_doctor_sign_in.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,39 @@ |
|||||
|
using System; |
||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
#nullable disable |
||||
|
|
||||
|
namespace Shentun.Peis.Migrations |
||||
|
{ |
||||
|
public partial class add_doctor_sign_in : Migration |
||||
|
{ |
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.CreateTable( |
||||
|
name: "doctor_sign_in", |
||||
|
columns: table => new |
||||
|
{ |
||||
|
id = table.Column<Guid>(type: "uuid", fixedLength: true, nullable: false), |
||||
|
room_id = table.Column<Guid>(type: "uuid", nullable: false, comment: "房间ID"), |
||||
|
sign_in_flag = table.Column<char>(type: "character(1)", maxLength: 1, nullable: false, comment: "0-签到,1-签退"), |
||||
|
sign_out_date = table.Column<DateTime>(type: "timestamp without time zone", nullable: true, comment: "签退日期"), |
||||
|
concurrency_stamp = table.Column<string>(type: "character varying(40)", maxLength: 40, nullable: true), |
||||
|
creation_time = table.Column<DateTime>(type: "timestamp without time zone", nullable: false), |
||||
|
creator_id = table.Column<Guid>(type: "uuid", nullable: false), |
||||
|
last_modification_time = table.Column<DateTime>(type: "timestamp without time zone", nullable: false), |
||||
|
last_modifier_id = table.Column<Guid>(type: "uuid", nullable: false) |
||||
|
}, |
||||
|
constraints: table => |
||||
|
{ |
||||
|
table.PrimaryKey("PK_doctor_sign_in", x => x.id); |
||||
|
}, |
||||
|
comment: "医生签到表"); |
||||
|
} |
||||
|
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DropTable( |
||||
|
name: "doctor_sign_in"); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue