Coding task · NestJS course · Module 3: TypeORM and Databases
Advanced entity with column options
Create an entity with different column types and options.
Task
Write a Tribute entity with @Column({ type: 'varchar', length: 100 }), @Column({ type: 'decimal', precision: 10, scale: 2 }) and @Column({ default: false })