refactor(entity): 将可选字段明确标记为可选类型
This commit is contained in:
parent
4af69aeb6f
commit
f2b1036286
|
|
@ -11,10 +11,10 @@ export class Site {
|
|||
apiUrl: string;
|
||||
|
||||
@Column({ name: 'website_url', length: 255, nullable: true })
|
||||
websiteUrl: string;
|
||||
websiteUrl?: string;
|
||||
|
||||
@Column({ name: 'webhook_url', length: 255, nullable: true })
|
||||
webhookUrl: string;
|
||||
webhookUrl?: string;
|
||||
|
||||
@Column({ length: 255, nullable: true })
|
||||
consumerKey?: string;
|
||||
|
|
|
|||
Loading…
Reference in New Issue