add fields referencing foreign key for billables -> projects_id and projects -> admin_id, projects -> customer_id was created earlier. Migrations got messed up and rebuild db.