Add credit transactions
Replace sql field def with sequelize def