Skip to content

Remove orphaned tables #11

Description

@peterjaap

Maybe we should add a command that can identify which tables can be deleted from a Magento 2 install? I'm thinking it should do something like this;

  • Whitelist all core Magento tables
  • Run through the db_schema files and InstallSchema scripts of all extensions to identify table names
  • Compare that list versus the tables actually in the database
  • Interactively ask to drop that table (or generate queries to do it)

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