module.exports = (sequelize, type) => {
    const Acronyms = sequelize.define('acronyms', {
        id: {
            type: type.INTEGER,
            primaryKey: true,
            autoIncrement: true
        },
        short_name: {
            type: type.STRING,
            unique: {
                args: true,
                msg: 'Oops. Looks like acronyms already exist.'
            }
        },
        certi_id: type.INTEGER,
        full_name: type.TEXT,
        status: {
            type: type.INTEGER,
            defaultValue: '0'
        }
    })
    return Acronyms;
}