Where are the credits in the database?

I want to write a custom script that adds credits to a users account for various reasons. Where are the credits stored in the DB? Table/field.