mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 11:26:00 +00:00
handle sparse, zerofill, unsigned, commant flags
This commit is contained in:
@@ -129,6 +129,12 @@ class MsSqlDumper extends SqlDumper {
|
||||
}
|
||||
}
|
||||
|
||||
specialColumnOptions(column) {
|
||||
if (column.isSparse) {
|
||||
this.put('^sparse ');
|
||||
}
|
||||
}
|
||||
|
||||
renameConstraint(cnt, newname) {
|
||||
if (cnt.constraintType == 'index')
|
||||
this.putCmd("^execute sp_rename '%f.%i', '%s', 'INDEX'", cnt, cnt.constraintName, newname);
|
||||
|
||||
Reference in New Issue
Block a user