|
|
@ -77,7 +77,6 @@ async function upgradeModelRelations({ |
|
|
|
childTable: relation.tn, |
|
|
|
childTable: relation.tn, |
|
|
|
foreignKeyName: relation.cstn, |
|
|
|
foreignKeyName: relation.cstn, |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// skip postgres since we were already creating the index while creating the relation
|
|
|
|
// skip postgres since we were already creating the index while creating the relation
|
|
|
|
if (ncMeta.knex.clientType() !== 'pg') { |
|
|
|
if (ncMeta.knex.clientType() !== 'pg') { |
|
|
@ -90,6 +89,7 @@ async function upgradeModelRelations({ |
|
|
|
await sqlClient.indexCreate(indexArgs); |
|
|
|
await sqlClient.indexCreate(indexArgs); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|