def handle(self, *args, **options):
        """
        Alter the tables
        """

        from categories.migration import migrate_app
        from categories.settings import MODEL_REGISTRY
        if options['app_names']:
            for app in options['app_names']:
                migrate_app(None, app)
        else:
            for app in MODEL_REGISTRY:
                migrate_app(None, app)
Alter the tables