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(type: "uuid", nullable: false), qztl_type = table.Column(type: "character(1)", nullable: false), qztl_is_cw = table.Column(type: "character(1)", nullable: false), qztl_is_cy = table.Column(type: "character(1)", nullable: false), qztl_is_gt = table.Column(type: "character(1)", nullable: false), qztl_is_main = table.Column(type: "character(1)", nullable: false), qztl_is_wh = table.Column(type: "character(1)", nullable: false), qztl_is_fj = table.Column(type: "character(1)", nullable: false), is_qztl_import = table.Column(type: "character(1)", nullable: false), upload_qztl_flag = table.Column(type: "character(1)", nullable: false), planuserid = table.Column(type: "text", nullable: true), remark2 = table.Column(type: "text", nullable: true), remark3 = table.Column(type: "text", nullable: true), remark4 = table.Column(type: "text", nullable: true), concurrency_stamp = table.Column(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"); } } }