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

Prevent accidental add-foreign-key with invalid column #29

Closed
simonw opened this issue Jun 20, 2019 · 0 comments
Closed

Prevent accidental add-foreign-key with invalid column #29

simonw opened this issue Jun 20, 2019 · 0 comments

Comments

@simonw
Copy link
Owner

simonw commented Jun 20, 2019

You can corrupt your database by running:

$ sqlite-utils add-foreign-key my.db table non_existent_column other_table other_column
@simonw simonw closed this as completed in 976263e Jun 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant