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

@@ -48,6 +48,7 @@ export interface SqlDialect {
namedDefaultConstraint?: boolean;
specificNullabilityImplementation?: boolean;
implicitNullDeclaration?: boolean;
omitForeignKeys?: boolean;
omitUniqueConstraints?: boolean;
omitIndexes?: boolean;
@@ -67,6 +68,7 @@ export interface SqlDialect {
requireFromDual?: boolean;
userDatabaseNamePrefix?: string; // c## in Oracle
upperCaseAllDbObjectNames?: boolean;
dbFileExtension?: string;
defaultValueBeforeNullability?: boolean;
predefinedDataTypes: string[];

View File

@@ -60,6 +60,8 @@ export type TestEngineInfo = {
defaultSchemaName?: string;
generateDbFile?: boolean;
generateDbFileOnServer?: boolean;
databaseFileLocationOnServer?: string;
dbSnapshotBySeconds?: boolean;
dumpFile?: string;
dumpChecks?: Array<{ sql: string; res: string }>;