creating migrations tables