mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
duplicator fixes
This commit is contained in:
parent
6b783027e5
commit
7802cde14d
@ -255,7 +255,7 @@ export class DataDuplicator {
|
||||
} catch (err) {
|
||||
logger.error({ err }, 'Failed duplicator job, rollbacking');
|
||||
await runCommandOnDriver(this.pool, this.driver, dmp => dmp.rollbackTransaction());
|
||||
throw err;
|
||||
return;
|
||||
}
|
||||
if (this.options.rollbackAfterFinish) {
|
||||
logger.info('Rollbacking transaction, nothing was changed');
|
||||
|
@ -158,6 +158,7 @@
|
||||
|
||||
const handleRunnerDone = () => {
|
||||
busy = false;
|
||||
timerLabel.stop();
|
||||
};
|
||||
|
||||
export function canKill() {
|
||||
|
@ -35,6 +35,7 @@ const dialect = {
|
||||
dropCheck: true,
|
||||
|
||||
dropReferencesWhenDropTable: true,
|
||||
requireStandaloneSelectForScopeIdentity: true,
|
||||
|
||||
predefinedDataTypes: [
|
||||
'bigint',
|
||||
|
Loading…
Reference in New Issue
Block a user