laravel-er-diagram-generator icon indicating copy to clipboard operation
laravel-er-diagram-generator copied to clipboard

Database entity blank

Open NANHBunsin opened this issue 5 years ago • 8 comments

After generated Laravel ER diagram successfully, it shows the tables relationship but didn't show database entity.

table

NANHBunsin avatar Jan 21 '20 10:01 NANHBunsin

I'm also running into this issue. Any help?

oscar0812 avatar Jan 22 '20 23:01 oscar0812

i use laravel 6.x but I have this problem too.

jackpit93 avatar Feb 08 '20 17:02 jackpit93

Laravel 7.0 same here.

jordanmiguel avatar Mar 06 '20 16:03 jordanmiguel

got this on some models, but others are okay. why ?

sascha1337 avatar Jun 26 '20 10:06 sascha1337

I got the same issue but resolved after executing database migration.

php artisan migrate
php artisan generate:erd

hashiyaman avatar Oct 18 '20 04:10 hashiyaman

The problem is still relevant for Laravel 7.30.4. Did anyone find a solution?

nikolaykv avatar Jun 04 '21 10:06 nikolaykv

Проблема все еще актуальна для Laravel 7.30.4. Кто-нибудь нашел решение?

I understood. In my case it was because the Laravel application was in a docker environment and I called the php artisan generate command: erd output.svg --format=svg outside the container. After installing apt-get install graphviz directly into the environment container and then generating the schema, everything worked correctly. I think similar logic will be true for Laravel Homestead as well.

nikolaykv avatar Jun 04 '21 10:06 nikolaykv

just open the xampp server. its now showing attributes because , your laravel project is not connected to phpmyadmin database

ErPrabin avatar Oct 02 '21 13:10 ErPrabin