Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the "table" option #110

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

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