f3-schema-builder icon indicating copy to clipboard operation
f3-schema-builder copied to clipboard

any way to create relations?

Open samankarbasi opened this issue 3 years ago • 2 comments

hi, tnx for your awesome package. is there any way to create foreign key constraint by schema builder?

samankarbasi avatar Dec 02 '20 09:12 samankarbasi

Hi. Yeah there's a user extension that adds this feature. I didn't had time to integrate it yet, but should work this way as well:

https://github.com/exodus4d/pathfinder/blob/master/app/Db/Sql/Mysql/tablemodifier.php

ikkez avatar Dec 02 '20 11:12 ikkez

tnx very helpful. <3

samankarbasi avatar Dec 02 '20 12:12 samankarbasi