docs(server-commands): fix typo in command to generate migrations (#9545)
- the command had `--migration:generate` instead of `migration:generate` written in the doc - when copy pasting it we got this error ``` Not enough non-option arguments: got 0, need at least 1 ``` - after removing the extra `--` it worked as expected
This commit is contained in:
@ -48,7 +48,7 @@ npx nx run twenty-server:database:reset
|
|||||||
#### For objects in Core/Metadata schemas (TypeORM)
|
#### For objects in Core/Metadata schemas (TypeORM)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npx nx run twenty-server:typeorm --migration:generate src/database/typeorm/metadata/migrations/nameOfYourMigration -d src/database/typeorm/metadata/metadata.datasource.ts # replace by core data source if necessary
|
npx nx run twenty-server:typeorm migration:generate src/database/typeorm/metadata/migrations/nameOfYourMigration -d src/database/typeorm/metadata/metadata.datasource.ts # replace by core data source if necessary
|
||||||
```
|
```
|
||||||
|
|
||||||
#### For Workspace objects
|
#### For Workspace objects
|
||||||
|
|||||||
Reference in New Issue
Block a user