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

@@ -1,5 +1,9 @@
const { SqlDumper } = global.DBGATE_PACKAGES['dbgate-tools'];
class Dumper extends SqlDumper {}
class Dumper extends SqlDumper {
autoIncrement() {
this.put(' ^generated ^by ^default ^as ^identity');
}
}
module.exports = Dumper;

View File

@@ -17,6 +17,8 @@ const dialect = {
return `"${s}"`;
},
dbFileExtension: '.fdb',
createColumn: true,
dropColumn: true,
changeColumn: true,