[horde] database cleanup ?
Jan Schneider
jan at horde.org
Wed Mar 19 09:28:51 UTC 2014
Zitat von Andreas Schulze <sca at andreasschulze.de>:
> Hello,
>
> on my horde system I installed mnemo for testing purposes.
> After installation I had to extend the database.
>
> Now I removed mnemo (pear uninstall horde/mnemo)
> but the tables in database still exist:
>
> # echo '.dump' | sqlite3 /data/db | grep 'TABLE "mnemo'
> CREATE TABLE "mnemo_schema_info" (
> CREATE TABLE "mnemo_memos" (
> CREATE TABLE "mnemo_shares_groups" (
> CREATE TABLE "mnemo_shares_users" (
> CREATE TABLE "mnemo_shares" (
> CREATE TABLE "mnemo_sharesng" (
> CREATE TABLE "mnemo_sharesng_groups" (
> CREATE TABLE "mnemo_sharesng_users" (
>
> Is there a clean way to remove tables referring by uninstalled horde
> application?
>
> Thanks,
> Andreas
horde-db-migrate mnemo down
But this has to be done *before* uninstalling the application.
--
Jan Schneider
The Horde Project
http://www.horde.org/
https://www.facebook.com/hordeproject
More information about the horde
mailing list