diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2019-03-05 11:28:14 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2019-03-05 11:28:14 -0100 |
commit | 12d86ac5d2a18ffa0aacf8b372416a7fa892c868 (patch) | |
tree | 531225884c56441f7dc5f7093614ac5d46a07e68 /lib/Db/FollowsRequest.php | |
parent | e6e8c270a4c6fb5aa6a584eb6bb886e252360bb6 (diff) |
generate id_prim on new insert
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Db/FollowsRequest.php')
-rw-r--r-- | lib/Db/FollowsRequest.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Db/FollowsRequest.php b/lib/Db/FollowsRequest.php index a22375d9..6c9855a9 100644 --- a/lib/Db/FollowsRequest.php +++ b/lib/Db/FollowsRequest.php @@ -66,6 +66,8 @@ class FollowsRequest extends FollowsRequestBuilder { $qb->createNamedParameter(new DateTime('now'), IQueryBuilder::PARAM_DATE) ); + $this->generatePrimaryKey($qb, $follow->getId()); + $qb->execute(); } |