Agontuk / schema-designer

Database schema designer for Laravel & Lumen
https://agontuk.github.io/schema-designer/
MIT License
124 stars 53 forks source link

[FEATURE REQUEST] Allow Recursive Association #6

Closed go4cas closed 6 years ago

go4cas commented 6 years ago

It would be really great if one could define recursive associations, i.e. a foreign key on the same table:

Example: category table: Columns:

- id (primary key)
- title
- parent_id (foreign key)

where parent_id would reference id

go4cas commented 6 years ago

I have managed to get this going, by manually editing the exported .json file, and re-importing: recursive

Agontuk commented 6 years ago

Thanks, I'll take a look.

Agontuk commented 6 years ago

Site has been updated with recursive association support, sorry for the long delay.