Skip to content

SQL to remove module from DB (and reinstall) #12

@jaromirmuller

Description

@jaromirmuller

Maybe you will find useful the following SQL to remove & reinstall module.

drop function ECOMDEV_CLEAN_URL_KEY;

drop table ecomdev_urlrewrite_category_relation;
drop table ecomdev_urlrewrite_category_request_path;
drop table ecomdev_urlrewrite_category_url_key;
drop table ecomdev_urlrewrite_duplicate;
drop table ecomdev_urlrewrite_duplicate_aggregate;
drop table ecomdev_urlrewrite_duplicate_increment;
drop table ecomdev_urlrewrite_duplicate_key;
drop table ecomdev_urlrewrite_duplicate_updated;
drop table ecomdev_urlrewrite_product_relation;
drop table ecomdev_urlrewrite_product_request_path;
drop table ecomdev_urlrewrite_product_url_key;
drop table ecomdev_urlrewrite_rewrite;
drop table ecomdev_urlrewrite_root_category;

delete from core_resource where code = 'ecomdev_urlrewrite_setup' limit 1;

I had to reinstall module again, there was issue with stored procedure for different user. I have happend during migration to another db server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions