| Current Path : /home/users/unlimited/www/facebook.codeskitter.site/nodejs/models/ |
| Current File : /home/users/unlimited/www/facebook.codeskitter.site/nodejs/models/wo_funding_raise.js |
/* jshint indent: 2 */
module.exports = function(sequelize, DataTypes) {
return sequelize.define('Wo_Funding_Raise', {
id: {
autoIncrement: true,
type: DataTypes.INTEGER,
allowNull: false,
primaryKey: true
},
funding_id: {
type: DataTypes.INTEGER,
allowNull: false,
defaultValue: 0
},
user_id: {
type: DataTypes.INTEGER,
allowNull: false,
defaultValue: 0
},
amount: {
type: DataTypes.STRING(11),
allowNull: false,
defaultValue: "0"
},
time: {
type: DataTypes.STRING(50),
allowNull: false,
defaultValue: ""
}
}, {
sequelize,
tableName: 'Wo_Funding_Raise'
});
};