Skip to content

Conversation

@IonelLupu
Copy link

Added the :table(<table_name>) option so you can manually specify the reference table for foreign keys.

For example you may want to set a logo for a company(companies table), which is an image from the images table. You can do that using the table option now:

logo_id:integer:foreign:table(images)

@IonelLupu IonelLupu closed this Oct 14, 2016
@IonelLupu IonelLupu reopened this Oct 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants