
module.exports = (sequelize, type) => {
    const Role = sequelize.define('role', {
        id: {
            type: type.INTEGER,
            primaryKey: true,
            autoIncrement: true
        },
        role_name: type.STRING,
        access_token: type.STRING,
        refresh_token: type.STRING,
        status: {
            type: type.INTEGER,
            defaultValue: 0
        }
    })
    return Role;
}
