Started migrations table logic