Register user count in upgrade instructions.

This commit is contained in:
James Cole 2020-07-24 16:40:54 +02:00
parent 117affb1d4
commit ba488b71eb
No known key found for this signature in database
GPG Key ID: B5669F9493CDE38D

View File

@ -24,6 +24,7 @@ declare(strict_types=1);
namespace FireflyIII\Console\Commands;
use FireflyIII\Support\System\GeneratesInstallationId;
use FireflyIII\User;
use Illuminate\Console\Command;
/**
@ -68,6 +69,7 @@ class UpgradeFireflyInstructions extends Command
app('telemetry')->feature('system.database.driver', env('DB_CONNECTION', '(unknown)'));
app('telemetry')->feature('system.os.is_docker', $isDocker);
app('telemetry')->feature('system.command.executed', $this->signature);
app('telemetry')->feature('system.users.count', (string)User::count());
return 0;
}