jarrodconnolly/sequelize-slugify

Not working with bulkCreate

fnematov opened this issue · 1 comments

hi, I use like this
let slugify = require('sequelize-slugify');

slugify.slugifyModel(Nomenclatures, {
        source: ['name'],
        slugOptions: { lower: true },
        overwrite: false,
        column: 'slug'
    });

In my case slug can not be null
await model.bulkCreate(json_data);

It gives me an error slug can not be null