recreated posts table to fix foregin key