Added QueryMigration for direct queries execution