change readonly default to follow migration
This commit is contained in:
@@ -17,6 +17,6 @@ export class AlbumUserEntity {
|
|||||||
@ManyToOne(() => UserEntity, { onDelete: 'CASCADE', onUpdate: 'CASCADE', nullable: false })
|
@ManyToOne(() => UserEntity, { onDelete: 'CASCADE', onUpdate: 'CASCADE', nullable: false })
|
||||||
user!: UserEntity;
|
user!: UserEntity;
|
||||||
|
|
||||||
@Column({ default: false })
|
@Column({ default: true })
|
||||||
readonly!: boolean;
|
readonly!: boolean;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user