def METHOD_NAME(self, app_label, schema_editor, from_state, to_state):
    if router.allow_migrate(schema_editor.connection.alias, app_label, **self.hints):
        if not self.rendered_forwards:
            self.sql = self._render_template(self.sql)
            self.rendered_forwards = True
        super(RunSqlLazy, self).METHOD_NAME(app_label, schema_editor, from_state, to_state)