Click in order · NestJS course · Module 3: TypeORM and Databases

Column definition with NOT NULL and default

Arrange the elements of a column definition with a default value and NOT NULL:

Items to click

  • @Column({
  • isActive: boolean;
  • nullable: false, default: true })

You can check the correct answer by solving this task in the CodeWorlds game.