fix: Other dialect duplicated add index problem
Detect is using SQLite to add index
This commit is contained in:
5
lib/utils.js
Normal file
5
lib/utils.js
Normal file
@@ -0,0 +1,5 @@
|
||||
'use strict'
|
||||
|
||||
exports.isSQLite = function isSQLite (sequelize) {
|
||||
return sequelize.options.dialect === 'sqlite'
|
||||
}
|
||||
Reference in New Issue
Block a user