feat: firebird use attachOrCreate on connect, add dbFileExtension and locaiton on server to tests

This commit is contained in:
Pavel
2025-05-15 15:04:54 +02:00
parent 7ac6cfcf25
commit 951bfa23f3
7 changed files with 54 additions and 17 deletions

View File

@@ -265,11 +265,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);