fixes error where paid column was not added to tables