Skip to content

Commit

Permalink
fix(docs): use updated lb4 relation prompts
Browse files Browse the repository at this point in the history
  • Loading branch information
nabdelgadir committed Jan 20, 2020
1 parent 07410c9 commit 5f55210
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/site/tutorials/todo-list/todo-list-tutorial-relations.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ $ lb4 relation
? Please select source model TodoList
? Please select target model Todo
? Foreign key name to define on the target model todoListId
? Source property name for the relation getter todos
? Source property name for the relation getter (will be the relation name) todos
? Allow TodoList queries to include data from related Todo instances? Yes
create src/controllers/todo-list-todo.controller.ts

Expand All @@ -34,7 +34,8 @@ $ lb4 relation
? Please select the relation type belongsTo
? Please select source model Todo
? Please select target model TodoList
? Source property name for the relation getter todoListId
? Foreign key name to define on the source model todoListId
? Relation name todoList
? Allow Todo queries to include data from related TodoList instances? Yes
create src/controllers/todo-todo-list.controller.ts
Expand Down

0 comments on commit 5f55210

Please sign in to comment.