Add primary key to user and post tables