The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
`database:reset` depends on `database:init` that runs slow instance commands (#19557)
Paul Rastoin5a22cc88c554
diff --git a/packages/twenty-server/project.json b/packages/twenty-server/project.jsonindex 6b351eb5cee..f5a20abebf6 100644--- a/packages/twenty-server/project.json+++ b/packages/twenty-server/project.json@@ -202,6 +202,18 @@"command": "node dist/command/command.js run-instance-commands --force"}},+ "database:init": {+ "executor": "nx:run-commands",+ "dependsOn": ["build"],+ "options": {+ "cwd": "packages/twenty-server",+ "commands": [+ "node dist/database/scripts/setup-db.js",+ "nx database:migrate -- --include-slow"+ ],+ "parallel": false+ }+ },"database:migrate:generate": {"executor": "nx:run-commands","dependsOn": ["build"],@@ -228,8 +240,7 @@"cwd": "packages/twenty-server","commands": ["node dist/database/scripts/truncate-db.js",- "node dist/database/scripts/setup-db.js",- "nx database:migrate",+ "nx database:init","nx command-no-deps -- cache:flush"],"parallel": false@@ -238,8 +249,7 @@"cwd": "packages/twenty-server","commands": ["node dist/database/scripts/truncate-db.js",- "node dist/database/scripts/setup-db.js",- "nx database:migrate",+ "nx database:init","nx command-no-deps -- cache:flush","nx command-no-deps -- workspace:seed:dev"],