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 = [ const filterLocal = [
// filter local testing // filter local testing
'-MySQL', '-MySQL',
'MariaDB', '-MariaDB',
'-PostgreSQL', '-PostgreSQL',
'-SQL Server', '-SQL Server',
'-SQLite', 'SQLite',
'-CockroachDB', '-CockroachDB',
]; ];

View File

@ -13,6 +13,8 @@
"wait:ci": "cross-env DEVMODE=1 CITEST=1 node wait.js", "wait:ci": "cross-env DEVMODE=1 CITEST=1 node wait.js",
"test:local": "cross-env DEVMODE=1 LOCALTEST=1 jest", "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", "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" "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}]`; return `[${s}]`;
}, },
anonymousPrimaryKey: true, anonymousPrimaryKey: true,
requireStandaloneSelectForScopeIdentity: true,
createColumn: true, createColumn: true,
dropColumn: true, dropColumn: true,