mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 01:26:01 +00:00
sql dumper - create index
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user