module.exports = (sequelize, Sequelize) => {
    return sequelize.define('info', {
        pid: {
            primaryKey: true,
            autoIncrement: true,
            type: Sequelize.INTEGER
        },
        tree_name: Sequelize.STRING,
        width: Sequelize.STRING,
        height: Sequelize.STRING,
        observation: Sequelize.STRING,
        age: Sequelize.STRING,
        diameter_of_tree: Sequelize.STRING,
        society_id: Sequelize.STRING,
        base64image: Sequelize.STRING,
        lng: Sequelize.STRING,
        lat: Sequelize.STRING
    }, {
        freezeTableName: true,
        tableName: 'info',
        timestamps: false,
    })
}