fixed sqlite data duplicator

This commit is contained in:
Jan Prochazka 2023-02-25 13:33:33 +01:00
parent 490efb065a
commit 2d74b831c5
3 changed files with 5 additions and 2 deletions

View File

@ -134,10 +134,10 @@ const engines = [
const filterLocal = [
// filter local testing
'-MySQL',
'MariaDB',
'-MariaDB',
'-PostgreSQL',
'-SQL Server',
'-SQLite',
'SQLite',
'-CockroachDB',
];

View File

@ -13,6 +13,8 @@
"wait:ci": "cross-env DEVMODE=1 CITEST=1 node wait.js",
"test:local": "cross-env DEVMODE=1 LOCALTEST=1 jest",
"test:local:path": "cross-env DEVMODE=1 LOCALTEST=1 jest --runTestsByPath __tests__/data-duplicator.spec.js",
"test:ci": "cross-env DEVMODE=1 CITEST=1 jest --runInBand --json --outputFile=result.json --testLocationInResults",
"run:local": "docker-compose down && docker-compose up -d && yarn wait:local && yarn test:local"

View File

@ -22,6 +22,7 @@ const dialect = {
return `[${s}]`;
},
anonymousPrimaryKey: true,
requireStandaloneSelectForScopeIdentity: true,
createColumn: true,
dropColumn: true,