setting up the DB using migration