diff --git a/integration-tests/engines.js b/integration-tests/engines.js index 41e0345a..19691922 100644 --- a/integration-tests/engines.js +++ b/integration-tests/engines.js @@ -134,10 +134,10 @@ const engines = [ const filterLocal = [ // filter local testing '-MySQL', - 'MariaDB', + '-MariaDB', '-PostgreSQL', '-SQL Server', - '-SQLite', + 'SQLite', '-CockroachDB', ]; diff --git a/integration-tests/package.json b/integration-tests/package.json index b647b30a..81ed8d4a 100644 --- a/integration-tests/package.json +++ b/integration-tests/package.json @@ -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" diff --git a/plugins/dbgate-plugin-sqlite/src/frontend/driver.js b/plugins/dbgate-plugin-sqlite/src/frontend/driver.js index de6071d7..a24bacb5 100644 --- a/plugins/dbgate-plugin-sqlite/src/frontend/driver.js +++ b/plugins/dbgate-plugin-sqlite/src/frontend/driver.js @@ -22,6 +22,7 @@ const dialect = { return `[${s}]`; }, anonymousPrimaryKey: true, + requireStandaloneSelectForScopeIdentity: true, createColumn: true, dropColumn: true,