diff --git a/docs/site/Model-generator.md b/docs/site/Model-generator.md index 5cd799a718f5..0c3af0a6a5ae 100644 --- a/docs/site/Model-generator.md +++ b/docs/site/Model-generator.md @@ -64,6 +64,8 @@ blank one is entered. Properties will be prompted for as follows: as the `id` for the Model. - **Required.** Defaults to **no**. If the property is required, enter **Y** or **yes**. +- **Generated.** Defaults to **Yes**. If the property is not generated by + database, enter **N** or **no**. - **Default value.** Set a default value for the property if one isn't supplied. Leave blank otherwise. diff --git a/docs/site/tutorials/todo/todo-tutorial-controller.md b/docs/site/tutorials/todo/todo-tutorial-controller.md index 8331101ed26d..05f4ba4e2709 100644 --- a/docs/site/tutorials/todo/todo-tutorial-controller.md +++ b/docs/site/tutorials/todo/todo-tutorial-controller.md @@ -38,6 +38,7 @@ Controller Todo will be created in src/controllers/todo.controller.ts ? What is the name of your CRUD repository? TodoRepository ? What is the name of ID property? id ? What is the type of your ID? number +? Is the id omitted when creating a new instance? Yes ? What is the base HTTP path name of the CRUD operations? /todos create src/controllers/todo.controller.ts update src/controllers/index.ts diff --git a/docs/site/tutorials/todo/todo-tutorial-model.md b/docs/site/tutorials/todo/todo-tutorial-model.md index 9ac6505930d2..083171295ea1 100644 --- a/docs/site/tutorials/todo/todo-tutorial-model.md +++ b/docs/site/tutorials/todo/todo-tutorial-model.md @@ -59,6 +59,7 @@ Enter an empty property name when done ? Property type: number ? Is id the ID property? Yes ? Is it required?: No +? Is id generated automatically? No ? Default value [leave blank for none]: Let's add another property to Todo