Commit 3293216be5b93e8d7371bb182cd0d7d35dc02bce
1 parent
a9c213b1
test
Showing
1 changed file
with
7 additions
and
0 deletions
Show diff stats
app/library/App/Controllers/UserController.php
| @@ -97,5 +97,12 @@ class UserController extends CrudResourceController | @@ -97,5 +97,12 @@ class UserController extends CrudResourceController | ||
| 97 | } | 97 | } |
| 98 | } | 98 | } |
| 99 | 99 | ||
| 100 | + /** | ||
| 101 | + * fix phql for PG | ||
| 102 | + */ | ||
| 103 | + protected function getModelPrimaryKey() | ||
| 104 | + { | ||
| 105 | + return 'id'; | ||
| 106 | + } | ||
| 100 | 107 | ||
| 101 | } | 108 | } |