Skip to content

Commit

Permalink
update relationships option in model config (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
Diam2023 authored Jan 19, 2024
1 parent 410bdd8 commit dbe13a9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion CHN-08-3-数据库-ORM.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ drogon_ctl create model <model_path>
"dbname": "test",
"user": "test",
"passwd": "",
"tables": []
"tables": [],
"relationships": {
"enabled": false,
"items": []
}
}
```

Expand Down
6 changes: 5 additions & 1 deletion ENG-08-3-Database-ORM.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ The last parameter is the path to store model classes. There must be a configura
"dbname": "test",
"user": "test",
"passwd": "",
"tables": []
"tables": [],
"relationships": {
"enabled": false,
"items": []
}
}
```

Expand Down

0 comments on commit dbe13a9

Please sign in to comment.