Updated a bunch of optional collumns to be nullable

ref #11 #13
This commit is contained in:
2020-12-02 19:14:45 +01:00
parent a78bbb1de5
commit aa565c6b34
8 changed files with 23 additions and 22 deletions

View File

@@ -25,7 +25,7 @@ export class Address {
/**
* The address's description.
*/
@Column()
@Column({nullable: true})
@IsString()
@IsOptional()
description?: string;
@@ -43,7 +43,7 @@ export class Address {
* The address's second line.
* Containing optional information.
*/
@Column()
@Column({nullable: true})
@IsString()
@IsOptional()
address2?: string;