Add realpath for migrations directory