mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-23 22:12:24 +03:00
Add migrate prod command
This commit is contained in:
parent
eb07b373a7
commit
7294d5aedc
@ -29,7 +29,8 @@
|
||||
"database:seed:demo": "npx nx command -- workspace:seed:demo",
|
||||
"database:reset": "npx nx database:truncate && npx nx database:init",
|
||||
"command": "node dist/src/command/command",
|
||||
"queue:work": "node dist/src/queue-worker/queue-worker"
|
||||
"queue:work": "node dist/src/queue-worker/queue-worker",
|
||||
"database:migrate:prod": "npx -y typeorm migration:run -d dist/src/database/typeorm/metadata/metadata.datasource && npx -y typeorm migration:run -d dist/src/database/typeorm/core/core.datasource"
|
||||
},
|
||||
"dependencies": {
|
||||
"@graphql-yoga/nestjs": "patch:@graphql-yoga/nestjs@2.1.0#./patches/@graphql-yoga+nestjs+2.1.0.patch",
|
||||
|
Loading…
Reference in New Issue
Block a user