Skip to content

This module enables you to maintain and cleanup your EAV database in your Magento store.

License

Notifications You must be signed in to change notification settings

team23/magento-module-cleanup-eav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TEAM23 CleanupEav

The Team23_CleanupEav module enables you to maintain and cleanup your eav database.

Installation

Installation is done via composer

composer require team23/module-cleanup-eav

Now register the module with bin/magento setup:upgrade.

Configuration

Some core paths are excluded from being cleaned up in database. You can add more for other modules too inside a di.xml file.

<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <type name="Team23\CleanupEav\Model\Config">
        <arguments>
            <argument name="excludedPaths" xsi:type="array">
                <item name="amasty_first" xsi:type="string">amasty_base/system_value/first_module_run</item>
                <item name="amasty_last" xsi:type="string">amasty_base/system_value/last_update</item>
                <item name="amasty_remove" xsi:type="string">amasty_base/system_value/remove_date</item>
            </argument>
        </arguments>
    </type>
</config>

Extensibility

Extension developers can interact with the Team23_CleanupEav module. For more information about the Magento extension mechanism, see Magento plug-ins.

The Magento dependency injection mechanism enables you to override the functionality of the Team23_CleanupEav module.

CLI commands

  • eav:cleanup:media Compares database and disk space of product images and cleans both of them.
  • eav:cleanup:config-path Removes orphaned paths in database for core configuration table.
  • eav:cleanup:config-scope Compare global and scope data for paths, remove the scope entry if identical.

About

This module enables you to maintain and cleanup your EAV database in your Magento store.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages