mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-09-08 00:47:15 +08:00
make address in job info can be null
This commit is contained in:
@@ -40,8 +40,10 @@ export class JobInfo {
|
|||||||
})
|
})
|
||||||
degreeName?: string;
|
degreeName?: string;
|
||||||
|
|
||||||
@Column()
|
@Column({
|
||||||
address: string;
|
nullable: true
|
||||||
|
})
|
||||||
|
address?: string;
|
||||||
|
|
||||||
@Column()
|
@Column()
|
||||||
description: string;
|
description: string;
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ export class VChatStartupLog {
|
|||||||
degreeName: string;
|
degreeName: string;
|
||||||
|
|
||||||
@ViewColumn()
|
@ViewColumn()
|
||||||
address: string;
|
address?: string;
|
||||||
|
|
||||||
@ViewColumn()
|
@ViewColumn()
|
||||||
description: string;
|
description: string;
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ export class VJobLibrary {
|
|||||||
degreeName: string;
|
degreeName: string;
|
||||||
|
|
||||||
@ViewColumn()
|
@ViewColumn()
|
||||||
address: string;
|
address?: string;
|
||||||
|
|
||||||
@ViewColumn()
|
@ViewColumn()
|
||||||
description: string;
|
description: string;
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ export class VMarkAsNotSuitLog {
|
|||||||
degreeName: string;
|
degreeName: string;
|
||||||
|
|
||||||
@ViewColumn()
|
@ViewColumn()
|
||||||
address: string;
|
address?: string;
|
||||||
|
|
||||||
@ViewColumn()
|
@ViewColumn()
|
||||||
description: string;
|
description: string;
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ const viewNames = [
|
|||||||
"v_chat_startup_log",
|
"v_chat_startup_log",
|
||||||
"v_company_library",
|
"v_company_library",
|
||||||
"v_job_library",
|
"v_job_library",
|
||||||
|
"v_mark_as_not_suit_log"
|
||||||
];
|
];
|
||||||
|
|
||||||
export class UpdateChatStartupLogTable1729182577167
|
export class UpdateChatStartupLogTable1729182577167
|
||||||
@@ -29,6 +30,15 @@ export class UpdateChatStartupLogTable1729182577167
|
|||||||
isNullable: true
|
isNullable: true
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
await queryRunner.changeColumn(
|
||||||
|
'job_info',
|
||||||
|
'address',
|
||||||
|
new TableColumn({
|
||||||
|
name: 'address',
|
||||||
|
type: 'varchar',
|
||||||
|
isNullable: true
|
||||||
|
})
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user