using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace BMA.EHR.Infrastructure.Migrations { /// public partial class ChangeuseridtoNullable : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "LastUpdateUserId", table: "UserTimeStamps", type: "NVARCHAR2(40)", maxLength: 40, nullable: true, comment: "User Id ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "LastUpdateFullName", table: "UserTimeStamps", type: "NVARCHAR2(200)", maxLength: 200, nullable: true, comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "CreatedUserId", table: "UserTimeStamps", type: "NVARCHAR2(40)", maxLength: 40, nullable: true, comment: "User Id ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldComment: "User Id ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "CreatedFullName", table: "UserTimeStamps", type: "NVARCHAR2(200)", maxLength: 200, nullable: true, comment: "ชื่อ User ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldComment: "ชื่อ User ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "LastUpdateUserId", table: "UserDutyTimes", type: "NVARCHAR2(40)", maxLength: 40, nullable: true, comment: "User Id ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "LastUpdateFullName", table: "UserDutyTimes", type: "NVARCHAR2(200)", maxLength: 200, nullable: true, comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "CreatedUserId", table: "UserDutyTimes", type: "NVARCHAR2(40)", maxLength: 40, nullable: true, comment: "User Id ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldComment: "User Id ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "CreatedFullName", table: "UserDutyTimes", type: "NVARCHAR2(200)", maxLength: 200, nullable: true, comment: "ชื่อ User ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldComment: "ชื่อ User ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "LastUpdateUserId", table: "UserCalendars", type: "NVARCHAR2(40)", maxLength: 40, nullable: true, comment: "User Id ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "LastUpdateFullName", table: "UserCalendars", type: "NVARCHAR2(200)", maxLength: 200, nullable: true, comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "CreatedUserId", table: "UserCalendars", type: "NVARCHAR2(40)", maxLength: 40, nullable: true, comment: "User Id ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldComment: "User Id ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "CreatedFullName", table: "UserCalendars", type: "NVARCHAR2(200)", maxLength: 200, nullable: true, comment: "ชื่อ User ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldComment: "ชื่อ User ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "LastUpdateUserId", table: "ProcessUserTimeStamps", type: "NVARCHAR2(40)", maxLength: 40, nullable: true, comment: "User Id ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "LastUpdateFullName", table: "ProcessUserTimeStamps", type: "NVARCHAR2(200)", maxLength: 200, nullable: true, comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "CreatedUserId", table: "ProcessUserTimeStamps", type: "NVARCHAR2(40)", maxLength: 40, nullable: true, comment: "User Id ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldComment: "User Id ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "CreatedFullName", table: "ProcessUserTimeStamps", type: "NVARCHAR2(200)", maxLength: 200, nullable: true, comment: "ชื่อ User ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldComment: "ชื่อ User ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "LastUpdateUserId", table: "LeaveTypes", type: "NVARCHAR2(40)", maxLength: 40, nullable: true, comment: "User Id ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "LastUpdateFullName", table: "LeaveTypes", type: "NVARCHAR2(200)", maxLength: 200, nullable: true, comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "CreatedUserId", table: "LeaveTypes", type: "NVARCHAR2(40)", maxLength: 40, nullable: true, comment: "User Id ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldComment: "User Id ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "CreatedFullName", table: "LeaveTypes", type: "NVARCHAR2(200)", maxLength: 200, nullable: true, comment: "ชื่อ User ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldComment: "ชื่อ User ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "LastUpdateUserId", table: "LeaveRequests", type: "NVARCHAR2(40)", maxLength: 40, nullable: true, comment: "User Id ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "LastUpdateFullName", table: "LeaveRequests", type: "NVARCHAR2(200)", maxLength: 200, nullable: true, comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "CreatedUserId", table: "LeaveRequests", type: "NVARCHAR2(40)", maxLength: 40, nullable: true, comment: "User Id ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldComment: "User Id ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "CreatedFullName", table: "LeaveRequests", type: "NVARCHAR2(200)", maxLength: 200, nullable: true, comment: "ชื่อ User ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldComment: "ชื่อ User ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "LastUpdateUserId", table: "LeaveDocuments", type: "NVARCHAR2(40)", maxLength: 40, nullable: true, comment: "User Id ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "LastUpdateFullName", table: "LeaveDocuments", type: "NVARCHAR2(200)", maxLength: 200, nullable: true, comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "CreatedUserId", table: "LeaveDocuments", type: "NVARCHAR2(40)", maxLength: 40, nullable: true, comment: "User Id ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldComment: "User Id ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "CreatedFullName", table: "LeaveDocuments", type: "NVARCHAR2(200)", maxLength: 200, nullable: true, comment: "ชื่อ User ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldComment: "ชื่อ User ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "LastUpdateUserId", table: "DutyTimes", type: "NVARCHAR2(40)", maxLength: 40, nullable: true, comment: "User Id ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "LastUpdateFullName", table: "DutyTimes", type: "NVARCHAR2(200)", maxLength: 200, nullable: true, comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "CreatedUserId", table: "DutyTimes", type: "NVARCHAR2(40)", maxLength: 40, nullable: true, comment: "User Id ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldComment: "User Id ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "CreatedFullName", table: "DutyTimes", type: "NVARCHAR2(200)", maxLength: 200, nullable: true, comment: "ชื่อ User ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldComment: "ชื่อ User ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "LastUpdateUserId", table: "AdditionalCheckRequests", type: "NVARCHAR2(40)", maxLength: 40, nullable: true, comment: "User Id ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "LastUpdateFullName", table: "AdditionalCheckRequests", type: "NVARCHAR2(200)", maxLength: 200, nullable: true, comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "CreatedUserId", table: "AdditionalCheckRequests", type: "NVARCHAR2(40)", maxLength: 40, nullable: true, comment: "User Id ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldComment: "User Id ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "CreatedFullName", table: "AdditionalCheckRequests", type: "NVARCHAR2(200)", maxLength: 200, nullable: true, comment: "ชื่อ User ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldComment: "ชื่อ User ที่สร้างข้อมูล"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "LastUpdateUserId", table: "UserTimeStamps", type: "NVARCHAR2(40)", maxLength: 40, nullable: false, defaultValue: "", comment: "User Id ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldNullable: true, oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "LastUpdateFullName", table: "UserTimeStamps", type: "NVARCHAR2(200)", maxLength: 200, nullable: false, defaultValue: "", comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldNullable: true, oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "CreatedUserId", table: "UserTimeStamps", type: "NVARCHAR2(40)", maxLength: 40, nullable: false, defaultValue: "", comment: "User Id ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldNullable: true, oldComment: "User Id ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "CreatedFullName", table: "UserTimeStamps", type: "NVARCHAR2(200)", maxLength: 200, nullable: false, defaultValue: "", comment: "ชื่อ User ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldNullable: true, oldComment: "ชื่อ User ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "LastUpdateUserId", table: "UserDutyTimes", type: "NVARCHAR2(40)", maxLength: 40, nullable: false, defaultValue: "", comment: "User Id ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldNullable: true, oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "LastUpdateFullName", table: "UserDutyTimes", type: "NVARCHAR2(200)", maxLength: 200, nullable: false, defaultValue: "", comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldNullable: true, oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "CreatedUserId", table: "UserDutyTimes", type: "NVARCHAR2(40)", maxLength: 40, nullable: false, defaultValue: "", comment: "User Id ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldNullable: true, oldComment: "User Id ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "CreatedFullName", table: "UserDutyTimes", type: "NVARCHAR2(200)", maxLength: 200, nullable: false, defaultValue: "", comment: "ชื่อ User ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldNullable: true, oldComment: "ชื่อ User ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "LastUpdateUserId", table: "UserCalendars", type: "NVARCHAR2(40)", maxLength: 40, nullable: false, defaultValue: "", comment: "User Id ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldNullable: true, oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "LastUpdateFullName", table: "UserCalendars", type: "NVARCHAR2(200)", maxLength: 200, nullable: false, defaultValue: "", comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldNullable: true, oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "CreatedUserId", table: "UserCalendars", type: "NVARCHAR2(40)", maxLength: 40, nullable: false, defaultValue: "", comment: "User Id ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldNullable: true, oldComment: "User Id ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "CreatedFullName", table: "UserCalendars", type: "NVARCHAR2(200)", maxLength: 200, nullable: false, defaultValue: "", comment: "ชื่อ User ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldNullable: true, oldComment: "ชื่อ User ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "LastUpdateUserId", table: "ProcessUserTimeStamps", type: "NVARCHAR2(40)", maxLength: 40, nullable: false, defaultValue: "", comment: "User Id ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldNullable: true, oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "LastUpdateFullName", table: "ProcessUserTimeStamps", type: "NVARCHAR2(200)", maxLength: 200, nullable: false, defaultValue: "", comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldNullable: true, oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "CreatedUserId", table: "ProcessUserTimeStamps", type: "NVARCHAR2(40)", maxLength: 40, nullable: false, defaultValue: "", comment: "User Id ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldNullable: true, oldComment: "User Id ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "CreatedFullName", table: "ProcessUserTimeStamps", type: "NVARCHAR2(200)", maxLength: 200, nullable: false, defaultValue: "", comment: "ชื่อ User ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldNullable: true, oldComment: "ชื่อ User ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "LastUpdateUserId", table: "LeaveTypes", type: "NVARCHAR2(40)", maxLength: 40, nullable: false, defaultValue: "", comment: "User Id ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldNullable: true, oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "LastUpdateFullName", table: "LeaveTypes", type: "NVARCHAR2(200)", maxLength: 200, nullable: false, defaultValue: "", comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldNullable: true, oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "CreatedUserId", table: "LeaveTypes", type: "NVARCHAR2(40)", maxLength: 40, nullable: false, defaultValue: "", comment: "User Id ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldNullable: true, oldComment: "User Id ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "CreatedFullName", table: "LeaveTypes", type: "NVARCHAR2(200)", maxLength: 200, nullable: false, defaultValue: "", comment: "ชื่อ User ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldNullable: true, oldComment: "ชื่อ User ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "LastUpdateUserId", table: "LeaveRequests", type: "NVARCHAR2(40)", maxLength: 40, nullable: false, defaultValue: "", comment: "User Id ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldNullable: true, oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "LastUpdateFullName", table: "LeaveRequests", type: "NVARCHAR2(200)", maxLength: 200, nullable: false, defaultValue: "", comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldNullable: true, oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "CreatedUserId", table: "LeaveRequests", type: "NVARCHAR2(40)", maxLength: 40, nullable: false, defaultValue: "", comment: "User Id ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldNullable: true, oldComment: "User Id ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "CreatedFullName", table: "LeaveRequests", type: "NVARCHAR2(200)", maxLength: 200, nullable: false, defaultValue: "", comment: "ชื่อ User ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldNullable: true, oldComment: "ชื่อ User ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "LastUpdateUserId", table: "LeaveDocuments", type: "NVARCHAR2(40)", maxLength: 40, nullable: false, defaultValue: "", comment: "User Id ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldNullable: true, oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "LastUpdateFullName", table: "LeaveDocuments", type: "NVARCHAR2(200)", maxLength: 200, nullable: false, defaultValue: "", comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldNullable: true, oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "CreatedUserId", table: "LeaveDocuments", type: "NVARCHAR2(40)", maxLength: 40, nullable: false, defaultValue: "", comment: "User Id ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldNullable: true, oldComment: "User Id ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "CreatedFullName", table: "LeaveDocuments", type: "NVARCHAR2(200)", maxLength: 200, nullable: false, defaultValue: "", comment: "ชื่อ User ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldNullable: true, oldComment: "ชื่อ User ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "LastUpdateUserId", table: "DutyTimes", type: "NVARCHAR2(40)", maxLength: 40, nullable: false, defaultValue: "", comment: "User Id ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldNullable: true, oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "LastUpdateFullName", table: "DutyTimes", type: "NVARCHAR2(200)", maxLength: 200, nullable: false, defaultValue: "", comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldNullable: true, oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "CreatedUserId", table: "DutyTimes", type: "NVARCHAR2(40)", maxLength: 40, nullable: false, defaultValue: "", comment: "User Id ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldNullable: true, oldComment: "User Id ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "CreatedFullName", table: "DutyTimes", type: "NVARCHAR2(200)", maxLength: 200, nullable: false, defaultValue: "", comment: "ชื่อ User ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldNullable: true, oldComment: "ชื่อ User ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "LastUpdateUserId", table: "AdditionalCheckRequests", type: "NVARCHAR2(40)", maxLength: 40, nullable: false, defaultValue: "", comment: "User Id ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldNullable: true, oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "LastUpdateFullName", table: "AdditionalCheckRequests", type: "NVARCHAR2(200)", maxLength: 200, nullable: false, defaultValue: "", comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldNullable: true, oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด"); migrationBuilder.AlterColumn( name: "CreatedUserId", table: "AdditionalCheckRequests", type: "NVARCHAR2(40)", maxLength: 40, nullable: false, defaultValue: "", comment: "User Id ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(40)", oldMaxLength: 40, oldNullable: true, oldComment: "User Id ที่สร้างข้อมูล"); migrationBuilder.AlterColumn( name: "CreatedFullName", table: "AdditionalCheckRequests", type: "NVARCHAR2(200)", maxLength: 200, nullable: false, defaultValue: "", comment: "ชื่อ User ที่สร้างข้อมูล", oldClrType: typeof(string), oldType: "NVARCHAR2(200)", oldMaxLength: 200, oldNullable: true, oldComment: "ชื่อ User ที่สร้างข้อมูล"); } } }