You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: