infyom-schema-generator icon indicating copy to clipboard operation
infyom-schema-generator copied to clipboard

How to manage foreign key

Open veed76 opened this issue 5 years ago • 3 comments

Hi @harish81 For foreign key I have to create migration manually of I can manage it from the package?

veed76 avatar Oct 13 '19 07:10 veed76

Hi @veed76 Currently the foreign keys are not supported, soon we will add support for foreign key soon.

harish81 avatar Oct 13 '19 07:10 harish81

Ok, Thank You.

veed76 avatar Oct 13 '19 08:10 veed76

@veed76 For now you can add foreign key to generated json schema file as suggested here http://labs.infyom.com/laravelgenerator/docs/6.0/relationships

harish81 avatar Oct 13 '19 08:10 harish81