module.exports = (sequelize, type) => {
    const Version = sequelize.define('version', {
        id: {
            type: type.INTEGER,
            primaryKey: true,
            autoIncrement: true
        },
        version_android: type.STRING,
        version_ios: type.STRING,
        version_android_ccsp: type.STRING,
        version_ios_ccsp: type.STRING,
        version_android_practice: type.STRING,
        version_ios_practice: type.STRING,
        certy_id: type.INTEGER,
        status: {
            type: type.INTEGER,
            defaultValue: 0
        }
    })
    return Version;
}