feat: Avoid 'USING ' on FULLTEXT index
Signed-off-by: FORNO <forno@xmaho.link>
This commit is contained in:
parent
21e3bba4c4
commit
0d546359a7
|
@ -369,7 +369,7 @@ function mixinMigration(MySQL, mysql) {
|
|||
const indexName = self.client.escapeId(propName);
|
||||
let type = '';
|
||||
let kind = '';
|
||||
if (i.type) {
|
||||
if (i.type && i.kind.toUpperCase() !== 'FULLTEXT') {
|
||||
type = 'USING ' + i.type;
|
||||
}
|
||||
if (kind && type) {
|
||||
|
@ -393,7 +393,7 @@ function mixinMigration(MySQL, mysql) {
|
|||
const iName = self.client.escapeId(indexName);
|
||||
let type = '';
|
||||
let kind = '';
|
||||
if (i.type) {
|
||||
if (i.type && i.kind.toUpperCase() !== 'FULLTEXT') {
|
||||
type = 'USING ' + i.type;
|
||||
}
|
||||
if (i.kind) {
|
||||
|
|
Loading…
Reference in New Issue