module.exports = (sequelize, type) => {
    const Navigation = sequelize.define('app_nav_settings', {
        id: {
            type: type.INTEGER,
            primaryKey: true,
            autoIncrement: true
        },
        user_id: type.INTEGER,
        card_know: {
            type: type.INTEGER,
            defaultValue: 0
        },
        need_review: {
            type: type.INTEGER,
            defaultValue: 1
        },
        card_not_seen: {
            type: type.INTEGER,
            defaultValue: 1
        },
        terms_def: {
            type: type.INTEGER,
            defaultValue: 0
        },
        shuffle: {
            type: type.INTEGER,
            defaultValue: 0
        },
        status: {
            type: type.INTEGER,
            defaultValue: 0
        }
    })
    return Navigation;
}