|
|
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Shentun.Peis.Migrations{ public partial class init20240503003 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn<char>( name: "upload_qztl_flag", table: "patient_register_exter", type: "character(1)", nullable: true, oldClrType: typeof(char), oldType: "character(1)");
migrationBuilder.AlterColumn<string>( name: "remark4", table: "patient_register_exter", type: "character varying(100)", maxLength: 100, nullable: true, oldClrType: typeof(string), oldType: "text", oldNullable: true);
migrationBuilder.AlterColumn<string>( name: "remark3", table: "patient_register_exter", type: "character varying(100)", maxLength: 100, nullable: true, oldClrType: typeof(string), oldType: "text", oldNullable: true);
migrationBuilder.AlterColumn<string>( name: "remark2", table: "patient_register_exter", type: "character varying(100)", maxLength: 100, nullable: true, oldClrType: typeof(string), oldType: "text", oldNullable: true);
migrationBuilder.AlterColumn<char>( name: "qztl_type", table: "patient_register_exter", type: "character(1)", nullable: true, oldClrType: typeof(char), oldType: "character(1)");
migrationBuilder.AlterColumn<char>( name: "qztl_is_wh", table: "patient_register_exter", type: "character(1)", nullable: true, oldClrType: typeof(char), oldType: "character(1)");
migrationBuilder.AlterColumn<char>( name: "qztl_is_main", table: "patient_register_exter", type: "character(1)", nullable: true, oldClrType: typeof(char), oldType: "character(1)");
migrationBuilder.AlterColumn<char>( name: "qztl_is_gt", table: "patient_register_exter", type: "character(1)", nullable: true, oldClrType: typeof(char), oldType: "character(1)");
migrationBuilder.AlterColumn<char>( name: "qztl_is_fj", table: "patient_register_exter", type: "character(1)", nullable: true, oldClrType: typeof(char), oldType: "character(1)");
migrationBuilder.AlterColumn<char>( name: "qztl_is_cy", table: "patient_register_exter", type: "character(1)", nullable: true, oldClrType: typeof(char), oldType: "character(1)");
migrationBuilder.AlterColumn<char>( name: "qztl_is_cw", table: "patient_register_exter", type: "character(1)", nullable: true, oldClrType: typeof(char), oldType: "character(1)");
migrationBuilder.AlterColumn<string>( name: "planuserid", table: "patient_register_exter", type: "character varying(20)", maxLength: 20, nullable: true, oldClrType: typeof(string), oldType: "text", oldNullable: true);
migrationBuilder.AlterColumn<char>( name: "is_qztl_import", table: "patient_register_exter", type: "character(1)", nullable: true, oldClrType: typeof(char), oldType: "character(1)"); }
protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn<char>( name: "upload_qztl_flag", table: "patient_register_exter", type: "character(1)", nullable: false, defaultValue: '
|