mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 15:56:00 +00:00
unique constraint editor
This commit is contained in:
@@ -190,7 +190,7 @@ export class SqlDumper implements AlterProcessor {
|
||||
if (includeNullable) {
|
||||
this.put(column.notNull ? '^not ^null' : '^null');
|
||||
}
|
||||
if (includeDefault && column.defaultValue != null) {
|
||||
if (includeDefault && column.defaultValue?.trim()) {
|
||||
this.columnDefault(column);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user