Recently I decided to split my app into a few apps. The idea was to simplify each app and second, to better control of data access for different sets of users. Since the split “child” app were copied from the original, each child app has tables/slice/views for functionality that is no longer in that app.
Trying to clean this up, I have learnt the hard way some view/filter, etc (which you least expected) has a reference to the table/slice and it will result in error when you try to remove it. So the clean up become a trial-and-error process. Instead I wonder if there is a better way to find if what’s in use, so I can fix the underlying usage first and then cleanly delete the artifact. Say a report which tells where a table/column/view is in use.