Adds hasMigrations method