Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Add method to delete a source #99

Open
dr-rodriguez opened this issue Feb 10, 2018 · 0 comments
Open

Add method to delete a source #99

dr-rodriguez opened this issue Feb 10, 2018 · 0 comments

Comments

@dr-rodriguez
Copy link
Member

It would be useful to have a method to completely delete a source and its associated data. While the present of triggers or foreign keys with "on delete cascade" can make this trivial, not all databases will have this. This method can work similarly to db.inventory() in that it grabs all of the data and displays it to the user. If the user agrees that this is the data to delete, the script can then go through the various tables deleting by their id columns and ending by deleting from sources.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant