You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
2.2 KiB

using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Shentun.Peis.Migrations
{
public partial class init20240503002 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "patient_register_exter",
columns: table => new
{
patient_register_id = table.Column<Guid>(type: "uuid", nullable: false),
qztl_type = table.Column<char>(type: "character(1)", nullable: false),
qztl_is_cw = table.Column<char>(type: "character(1)", nullable: false),
qztl_is_cy = table.Column<char>(type: "character(1)", nullable: false),
qztl_is_gt = table.Column<char>(type: "character(1)", nullable: false),
qztl_is_main = table.Column<char>(type: "character(1)", nullable: false),
qztl_is_wh = table.Column<char>(type: "character(1)", nullable: false),
qztl_is_fj = table.Column<char>(type: "character(1)", nullable: false),
is_qztl_import = table.Column<char>(type: "character(1)", nullable: false),
upload_qztl_flag = table.Column<char>(type: "character(1)", nullable: false),
planuserid = table.Column<string>(type: "text", nullable: true),
remark2 = table.Column<string>(type: "text", nullable: true),
remark3 = table.Column<string>(type: "text", nullable: true),
remark4 = table.Column<string>(type: "text", nullable: true),
concurrency_stamp = table.Column<string>(type: "character varying(40)", maxLength: 40, nullable: true)
},
constraints: table =>
{
table.PrimaryKey("PK_patient_register_exter", x => x.patient_register_id);
},
comment: "人员登记信息扩展");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "patient_register_exter");
}
}
}