From dfd1afcb81684f7c64ed73074c7b1cd9adb86a7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Jaussoin?= Date: Tue, 15 Feb 2022 10:19:47 +0100 Subject: [PATCH] Fix the CreateAdminAccountTest command to force the last_used_at value for MySQL --- flexiapi/app/Console/Commands/CreateAdminAccountTest.php | 1 + flexisip-account-manager.spec | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/flexiapi/app/Console/Commands/CreateAdminAccountTest.php b/flexiapi/app/Console/Commands/CreateAdminAccountTest.php index 330be7d..7841962 100644 --- a/flexiapi/app/Console/Commands/CreateAdminAccountTest.php +++ b/flexiapi/app/Console/Commands/CreateAdminAccountTest.php @@ -75,6 +75,7 @@ class CreateAdminAccountTest extends Command $apiKey = new ApiKey; $apiKey->account_id = $account->id; + $apiKey->last_used_at = Carbon::now(); $apiKey->key = $secret; $apiKey->save(); diff --git a/flexisip-account-manager.spec b/flexisip-account-manager.spec index 787f2c9..d3a0155 100644 --- a/flexisip-account-manager.spec +++ b/flexisip-account-manager.spec @@ -8,7 +8,7 @@ #%define _datadir %{_datarootdir} #%define _docdir %{_datadir}/doc -%define build_number 130 +%define build_number 131 %define var_dir /var/opt/belledonne-communications %define opt_dir /opt/belledonne-communications/share/flexisip-account-manager