-
I was wondering what is the procedure for total removal of the app (including any DB tables) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey, there is no script for that. The main tables of news are:
You should be able to simply drop these There are also migration versions stored in the And configuration data in I think that should be it. |
Beta Was this translation helpful? Give feedback.
Hey, there is no script for that.
The app lives in /apps/news
The main tables of news are:
(my nextcloud db prefix is oc_)
You should be able to simply drop these
DROP TABLE table_name;
Without having tested it, I would start with folders then feeds and last items.
I know we added some restrictions lately I don't know how that will behave.
But I'm sure you can figure that out.
There are also migration versions stored in the
oc_migrations
DELETE FROM oc_migrations WHERE app='news'
And configuration data in
oc_appconfig
DELETE FROM from oc_appconfig WHERE appid='news';
I think that should be it.
Take note that depending on how many feeds and ite…