sql dumper - create index

This commit is contained in:
Jan Prochazka
2021-09-05 09:38:38 +02:00
parent 5b58ed9c26
commit d75397d793
4 changed files with 75 additions and 24 deletions

View File

@@ -249,10 +249,9 @@ export class SqlDumper implements AlterProcessor {
// }
this.put('&<&n)');
this.endCommand();
// foreach (var ix in table.Indexes)
// {
// CreateIndex(ix);
// }
for (const ix of table.indexes) {
this.createIndex(ix);
}
}
createForeignKeyFore(fk: ForeignKeyInfo) {