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