prediction_dictionary.js 1.0 KB
/* jshint indent: 2 */
module.exports = function (sequelize, DataTypes) {
    return sequelize.define('prediction_dictionary', {
        id: {
            type: DataTypes.INTEGER(11),
            allowNull: false,
            primaryKey: true,
            autoIncrement: true
        },
        type1: {
            type: DataTypes.STRING(20),
            allowNull: true
        },
        key: {
            type: DataTypes.STRING(50),
            allowNull: true
        },
        name: {
            type: DataTypes.STRING(50),
            allowNull: true
        },
        value: {
            type: DataTypes.TEXT,
            allowNull: true
        },
        created_at: {
            type: DataTypes.DATE,
            allowNull: true
        },
        updated_at: {
            type: DataTypes.DATE,
            allowNull: true
        },
        desc: {
            type: DataTypes.STRING(2000),
            allowNull: true
        }
    }, {
        tableName: 'prediction_dictionary'
    });
};
//# sourceMappingURL=prediction_dictionary.js.map