Closed
Description
php artisan db:audit
Please Select feature which would you like to do: [SUMMARY]
STANDARD ................................................................................................................... 0
CONSTRAINT ................................................................................................................. 1
SUMMARY .................................................................................................................... 2
TRACK ...................................................................................................................... 3
❯ 0
0
TypeError
Vcian\LaravelDBAuditor\Commands\DBStandardCommand::getTableSize(): Return value must be of type string, null returned
at vendor\vcian\laravel-db-auditor\src\Traits\DBConnection.php:107
103▕ ORDER BY
104▕ (DATA_LENGTH + INDEX_LENGTH) DESC';
105▕ $result = DB::select($query);
106▕ if ($result) {
➜ 107▕ return $result[0]->size;
108▕ }
109▕
110▕ } catch (Exception $exception) {
111▕ Log::error($exception->getMessage());
1 vendor\vcian\laravel-db-auditor\src\Traits\Rules.php:31
Vcian\LaravelDBAuditor\Commands\DBStandardCommand::getTableSize("report_sopbuntut")
2 vendor\vcian\laravel-db-auditor\src\Commands\DBStandardCommand.php:32
Vcian\LaravelDBAuditor\Commands\DBStandardCommand::tablesRule()
Metadata
Metadata
Assignees
Labels
No labels