laravel-erd icon indicating copy to clipboard operation
laravel-erd copied to clipboard

Misisng Tables added via Traits

Open philsturgeon opened this issue 3 years ago • 2 comments

I'm using Laravel Sanctum and noticed the personal_access_tokens table didn't show up in this brilliant ERD. I believe it uses a MorphMany relationship.

namespace App\Models\Organization;

class Organization {
  use Laravel\Sanctum\HasApiTokens;
  use HasApiTokens;
}

Just a thought.

Thanks for making this package!

philsturgeon avatar Aug 26 '22 12:08 philsturgeon

Thanks, it'd be tough to implement such. Let me have a look.

kevincobain2000 avatar Aug 29 '22 04:08 kevincobain2000

Good package to generate diagrams!

I have a similar issue when generating diagrams for relationships that use traits from other packages. To be specific spatie/laravel-packages.

Thanks for making this package.

ianyxtan avatar Sep 28 '22 20:09 ianyxtan