Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doctrine not more integrated in Laravel 11 #5864

Open
pomor opened this issue Sep 5, 2024 · 1 comment
Open

doctrine not more integrated in Laravel 11 #5864

pomor opened this issue Sep 5, 2024 · 1 comment

Comments

@pomor
Copy link

pomor commented Sep 5, 2024

  • Laravel Version: 11.#.#
  • PHP Version:8.3
  • Laravel-admin: #.#.#

Description:

fix ResourceGenerator.php :
use Illuminate\Support\Facades\Schema;

protected function getTableColumns()
{

    $table = $this->model->getConnection()->getTablePrefix().$this->model->getTable();

    return Schema::getColumns($table);
}

$name = $column['name'];
$type = $column['type_name'];
$default = $column['default'];

Steps To Reproduce:

@Spirit412
Copy link

Look at the fork https://github.com/dedermus/open-admin-core .git, which solves the problem with doctrine and works in Laravel 11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants