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

Enable foreign key support for sqlite #56

Closed
stefanoborini opened this issue Jul 6, 2016 · 0 comments
Closed

Enable foreign key support for sqlite #56

stefanoborini opened this issue Jul 6, 2016 · 0 comments
Assignees
Milestone

Comments

@stefanoborini
Copy link
Contributor

Currently our orm data model, when relying on sqlite, does not enforce cascade delete or foreign keys. The problem is that by default sqlite does not enforce foreign keys.

We need to check the docs

https://www.sqlite.org/foreignkeys.html#fk_basics

and the sqlalchemy requirements, then modify our datamodel sqlalchemy description so that cascade delete and foreign keys are enforced (e.g. when a user or application is deleted, the appropriate entries in the application policy table must be deleted as well)

@itziakos itziakos added this to the 0.4.0 milestone Jul 8, 2016
@kitchoi kitchoi self-assigned this Jul 13, 2016
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

3 participants