Merge pull request #1130 from dbgate/feature/firebird

Feature/firebird
This commit is contained in:
Jan Prochazka
2025-06-12 15:29:58 +02:00
committed by GitHub
57 changed files with 1584 additions and 169 deletions

View File

@@ -266,11 +266,11 @@ export class SqlDumper implements AlterProcessor {
this.columnDefault(column);
}
if (includeNullable && !this.dialect?.specificNullabilityImplementation) {
this.put(column.notNull ? '^not ^null' : '^null');
this.put(column.notNull ? '^not ^null' : this.dialect.implicitNullDeclaration ? '' : '^null');
}
} else {
if (includeNullable && !this.dialect?.specificNullabilityImplementation) {
this.put(column.notNull ? '^not ^null' : '^null');
this.put(column.notNull ? '^not ^null' : this.dialect.implicitNullDeclaration ? '' : '^null');
}
if (includeDefault && column.defaultValue?.toString()?.trim()) {
this.columnDefault(column);