3034 lines
137 KiB
C#
3034 lines
137 KiB
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class ChangeuseridtoNullable : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineReport_Profiles",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineReport_Profiles",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineReport_Profiles",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineReport_Profiles",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineInvestigates",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineInvestigates",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineInvestigates",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineInvestigates",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineInvestigateRelevant_Docs",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineInvestigateRelevant_Docs",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineInvestigateRelevant_Docs",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineInvestigateRelevant_Docs",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineInvestigateExtends",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineInvestigateExtends",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineInvestigateExtends",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineInvestigateExtends",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineInvestigate_ProfileComplaints",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineInvestigate_ProfileComplaints",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineInvestigate_ProfileComplaints",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineInvestigate_ProfileComplaints",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineInvestigate_Docs",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineInvestigate_Docs",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineInvestigate_Docs",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineInvestigate_Docs",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineInvestigate_DocComplaints",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineInvestigate_DocComplaints",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineInvestigate_DocComplaints",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineInvestigate_DocComplaints",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineInvestigate_Directors",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineInvestigate_Directors",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineInvestigate_Directors",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineInvestigate_Directors",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineDisciplinarys",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineDisciplinarys",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineDisciplinarys",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineDisciplinarys",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineDisciplinaryExtends",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineDisciplinaryExtends",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineDisciplinaryExtends",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineDisciplinaryExtends",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineDisciplinary_ProfileComplaintInvestigates",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineDisciplinary_ProfileComplaintInvestigates",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineDisciplinary_ProfileComplaintInvestigates",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineDisciplinary_ProfileComplaintInvestigates",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineDisciplinary_DocWitnessess",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineDisciplinary_DocWitnessess",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineDisciplinary_DocWitnessess",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineDisciplinary_DocWitnessess",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineDisciplinary_DocSummaryEvidences",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineDisciplinary_DocSummaryEvidences",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineDisciplinary_DocSummaryEvidences",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineDisciplinary_DocSummaryEvidences",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineDisciplinary_DocResults",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineDisciplinary_DocResults",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineDisciplinary_DocResults",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineDisciplinary_DocResults",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineDisciplinary_DocRelevants",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineDisciplinary_DocRelevants",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineDisciplinary_DocRelevants",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineDisciplinary_DocRelevants",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineDisciplinary_DocRecordAccusers",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineDisciplinary_DocRecordAccusers",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineDisciplinary_DocRecordAccusers",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineDisciplinary_DocRecordAccusers",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineDisciplinary_DocOthers",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineDisciplinary_DocOthers",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineDisciplinary_DocOthers",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineDisciplinary_DocOthers",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineDisciplinary_DocInvestigates",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineDisciplinary_DocInvestigates",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineDisciplinary_DocInvestigates",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineDisciplinary_DocInvestigates",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineDisciplinary_DocInvestigateRelevants",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineDisciplinary_DocInvestigateRelevants",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineDisciplinary_DocInvestigateRelevants",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineDisciplinary_DocInvestigateRelevants",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineDisciplinary_DocComplaintInvestigates",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineDisciplinary_DocComplaintInvestigates",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineDisciplinary_DocComplaintInvestigates",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineDisciplinary_DocComplaintInvestigates",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineDisciplinary_DirectorInvestigates",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineDisciplinary_DirectorInvestigates",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineDisciplinary_DirectorInvestigates",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineDisciplinary_DirectorInvestigates",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineDirectors",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineDirectors",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineDirectors",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineDirectors",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineComplaints",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineComplaints",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineComplaints",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineComplaints",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineComplaint_Profiles",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineComplaint_Profiles",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineComplaint_Profiles",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineComplaint_Profiles",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineComplaint_Docs",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineComplaint_Docs",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineComplaint_Docs",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineComplaint_Docs",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineComplaint_Channels",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineComplaint_Channels",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineComplaint_Channels",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineComplaint_Channels",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineComplaint_Appeals",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineComplaint_Appeals",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineComplaint_Appeals",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineComplaint_Appeals",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineComplaint_Appeal_Historys",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineComplaint_Appeal_Historys",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineComplaint_Appeal_Historys",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineComplaint_Appeal_Historys",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineComplaint_Appeal_Docs",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineComplaint_Appeal_Docs",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineComplaint_Appeal_Docs",
|
|
type: "NVARCHAR2(40)",
|
|
maxLength: 40,
|
|
nullable: true,
|
|
comment: "User Id ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(40)",
|
|
oldMaxLength: 40,
|
|
oldComment: "User Id ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineComplaint_Appeal_Docs",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: true,
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineReport_Profiles",
|
|
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<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineReport_Profiles",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineReport_Profiles",
|
|
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<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineReport_Profiles",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineInvestigates",
|
|
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<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineInvestigates",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineInvestigates",
|
|
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<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineInvestigates",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineInvestigateRelevant_Docs",
|
|
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<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineInvestigateRelevant_Docs",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineInvestigateRelevant_Docs",
|
|
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<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineInvestigateRelevant_Docs",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineInvestigateExtends",
|
|
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<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineInvestigateExtends",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineInvestigateExtends",
|
|
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<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineInvestigateExtends",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineInvestigate_ProfileComplaints",
|
|
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<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineInvestigate_ProfileComplaints",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineInvestigate_ProfileComplaints",
|
|
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<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineInvestigate_ProfileComplaints",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineInvestigate_Docs",
|
|
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<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineInvestigate_Docs",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineInvestigate_Docs",
|
|
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<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineInvestigate_Docs",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineInvestigate_DocComplaints",
|
|
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<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineInvestigate_DocComplaints",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineInvestigate_DocComplaints",
|
|
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<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineInvestigate_DocComplaints",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineInvestigate_Directors",
|
|
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<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineInvestigate_Directors",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineInvestigate_Directors",
|
|
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<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineInvestigate_Directors",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineDisciplinarys",
|
|
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<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineDisciplinarys",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineDisciplinarys",
|
|
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<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineDisciplinarys",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineDisciplinaryExtends",
|
|
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<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineDisciplinaryExtends",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineDisciplinaryExtends",
|
|
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<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineDisciplinaryExtends",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineDisciplinary_ProfileComplaintInvestigates",
|
|
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<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineDisciplinary_ProfileComplaintInvestigates",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineDisciplinary_ProfileComplaintInvestigates",
|
|
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<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineDisciplinary_ProfileComplaintInvestigates",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineDisciplinary_DocWitnessess",
|
|
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<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineDisciplinary_DocWitnessess",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineDisciplinary_DocWitnessess",
|
|
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<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineDisciplinary_DocWitnessess",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineDisciplinary_DocSummaryEvidences",
|
|
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<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineDisciplinary_DocSummaryEvidences",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineDisciplinary_DocSummaryEvidences",
|
|
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<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineDisciplinary_DocSummaryEvidences",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineDisciplinary_DocResults",
|
|
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<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineDisciplinary_DocResults",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineDisciplinary_DocResults",
|
|
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<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineDisciplinary_DocResults",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineDisciplinary_DocRelevants",
|
|
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<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineDisciplinary_DocRelevants",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineDisciplinary_DocRelevants",
|
|
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<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineDisciplinary_DocRelevants",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineDisciplinary_DocRecordAccusers",
|
|
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<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineDisciplinary_DocRecordAccusers",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineDisciplinary_DocRecordAccusers",
|
|
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<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineDisciplinary_DocRecordAccusers",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineDisciplinary_DocOthers",
|
|
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<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineDisciplinary_DocOthers",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineDisciplinary_DocOthers",
|
|
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<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineDisciplinary_DocOthers",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineDisciplinary_DocInvestigates",
|
|
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<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineDisciplinary_DocInvestigates",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineDisciplinary_DocInvestigates",
|
|
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<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineDisciplinary_DocInvestigates",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineDisciplinary_DocInvestigateRelevants",
|
|
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<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineDisciplinary_DocInvestigateRelevants",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineDisciplinary_DocInvestigateRelevants",
|
|
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<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineDisciplinary_DocInvestigateRelevants",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineDisciplinary_DocComplaintInvestigates",
|
|
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<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineDisciplinary_DocComplaintInvestigates",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineDisciplinary_DocComplaintInvestigates",
|
|
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<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineDisciplinary_DocComplaintInvestigates",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineDisciplinary_DirectorInvestigates",
|
|
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<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineDisciplinary_DirectorInvestigates",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineDisciplinary_DirectorInvestigates",
|
|
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<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineDisciplinary_DirectorInvestigates",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineDirectors",
|
|
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<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineDirectors",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineDirectors",
|
|
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<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineDirectors",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineComplaints",
|
|
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<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineComplaints",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineComplaints",
|
|
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<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineComplaints",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineComplaint_Profiles",
|
|
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<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineComplaint_Profiles",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineComplaint_Profiles",
|
|
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<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineComplaint_Profiles",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineComplaint_Docs",
|
|
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<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineComplaint_Docs",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineComplaint_Docs",
|
|
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<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineComplaint_Docs",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineComplaint_Channels",
|
|
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<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineComplaint_Channels",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineComplaint_Channels",
|
|
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<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineComplaint_Channels",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineComplaint_Appeals",
|
|
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<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineComplaint_Appeals",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineComplaint_Appeals",
|
|
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<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineComplaint_Appeals",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineComplaint_Appeal_Historys",
|
|
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<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineComplaint_Appeal_Historys",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineComplaint_Appeal_Historys",
|
|
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<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineComplaint_Appeal_Historys",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "LastUpdateUserId",
|
|
table: "DisciplineComplaint_Appeal_Docs",
|
|
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<string>(
|
|
name: "LastUpdateFullName",
|
|
table: "DisciplineComplaint_Appeal_Docs",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
|
|
|
migrationBuilder.AlterColumn<string>(
|
|
name: "CreatedUserId",
|
|
table: "DisciplineComplaint_Appeal_Docs",
|
|
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<string>(
|
|
name: "CreatedFullName",
|
|
table: "DisciplineComplaint_Appeal_Docs",
|
|
type: "NVARCHAR2(200)",
|
|
maxLength: 200,
|
|
nullable: false,
|
|
defaultValue: "",
|
|
comment: "ชื่อ User ที่สร้างข้อมูล",
|
|
oldClrType: typeof(string),
|
|
oldType: "NVARCHAR2(200)",
|
|
oldMaxLength: 200,
|
|
oldNullable: true,
|
|
oldComment: "ชื่อ User ที่สร้างข้อมูล");
|
|
}
|
|
}
|
|
}
|