Closed sajaddp closed 1 year ago
Unable to reproduce: https://github.com/nova-issues/issue-5726/commit/4e81dc4ec7bd7e1750d019d63d456a1583a23f06
Please provide full reproducing repository based on fresh installation as suggested in the bug report template (or you can refer to https://github.com/nova-issues for example)
Description:
When the database is sqlite and we create a Trend Metrics, there is an error
Not enough data available to satisfy format
. But if we just convert the database to mysql without any changes in the codes, the problem will be solved!Detailed steps to reproduce the issue on a fresh Nova installation:
100
users.sqlite
and runphp artisan migrate:fresh --seed
.php artisan nova:trend UsersPerDay
command and assign the user model to it.mysql
and runphp artisan migrate:fresh --seed
again.