truncate table context menu #333

This commit is contained in:
Jan Prochazka
2022-09-22 16:01:52 +02:00
parent 41afd177ef
commit 59efdd735c
4 changed files with 35 additions and 3 deletions

View File

@@ -527,7 +527,7 @@ export class SqlDumper implements AlterProcessor {
}
truncateTable(name: NamedObjectInfo) {
this.putCmd('^delete ^from %f', name);
this.putCmd('^truncate ^table %f', name);
}
dropConstraints(table: TableInfo, dropReferences = false) {