-
-
Notifications
You must be signed in to change notification settings - Fork 120
add_column() should support REFERENCES {other_table}({other_column}) #16
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
Comments
For the CLI I'm thinking:
So the foreign key is added using If the user doesn't provide the column type we can derive it from the foreign key. Can we make the |
Hmm... probably not:
|
In that case If you want to point at a different column, use |
Shipped this feature in sqlite-utils 1.1: https://sqlite-utils.readthedocs.io/en/latest/changelog.html#v1-1 |
Related to #2
The text was updated successfully, but these errors were encountered: