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

Hint at advanced options for foreign_key #35105

Merged
merged 1 commit into from
Feb 2, 2019

Commits on Jan 31, 2019

  1. Hint at advanced options for foreign_key

    We sometimes display simple examples of additional parameters that can be
    supplied to table-wise methods like these and I found it particularly difficult
    to figure out which options `t.foreign_key` accepts without drilling very deep
    into the specific SchemaStatements docs.
    
    Since it's relatively common to create foreign keys with custom column names or
    primary keys, it seems like this should help quite a few people.
    
    [ci skip]
    olivierlacan committed Jan 31, 2019
    Configuration menu
    Copy the full SHA
    13f8beb View commit details
    Browse the repository at this point in the history