add db/ActiveQuery.php