| Current Path : /home/users/unlimited/www/facebook.codeskitter.site/nodejs/models/ |
| Current File : /home/users/unlimited/www/facebook.codeskitter.site/nodejs/models/wo_custompages.js |
/* jshint indent: 2 */
module.exports = function(sequelize, DataTypes) {
return sequelize.define('Wo_CustomPages', {
id: {
autoIncrement: true,
type: DataTypes.INTEGER,
allowNull: false,
primaryKey: true
},
page_name: {
type: DataTypes.STRING(50),
allowNull: false,
defaultValue: ""
},
page_title: {
type: DataTypes.STRING(200),
allowNull: false,
defaultValue: ""
},
page_content: {
type: DataTypes.TEXT,
allowNull: true
},
page_type: {
type: DataTypes.INTEGER,
allowNull: false,
defaultValue: 0
}
}, {
sequelize,
tableName: 'Wo_CustomPages'
});
};