Closed tringuyenduc2903 closed 2 months ago
Hello @tringuyenduc2903
I found the problem here and i will create a PR to fix it. Meanwhile, you can modify the file vendor/backpack/crud/src/app/Library/CrudPanel/CrudPanel.php, method getSqlDriverList and add "mariadb" to the array.
public function getSqlDriverList()
{
return ['mysql', 'sqlsrv', 'sqlite', 'pgsql', 'mariadb'];
}
Cheers.
The PR is create: https://github.com/Laravel-Backpack/CRUD/pull/5490
I will close this issue, but please feel free to re-open or create a new one if needed.
Cheers.
Bug report
What I did
Set config in .env file
What I expected to happen
Columns that are not in the database will be automatically set 'orderable' => false
What happened
https://github.com/Laravel-Backpack/PermissionManager/issues/357 https://github.com/Laravel-Backpack/activity-log/issues/39
What I've already tried to fix it
The hasDatabaseColumn mechanism does not work
Is it a bug in the latest version of Backpack?
After I run backpack
composer update backpack/crud
the error it still persistsBackpack, Laravel, PHP, DB version
When I run
php artisan backpack:version
the output is: