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)
|
||||
|
||||
```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
|
||||
@ -98,4 +98,4 @@ Here's what the tech stack now looks like.
|
||||
**Development**
|
||||
- [AWS EKS](https://aws.amazon.com/eks/)
|
||||
|
||||
<ArticleEditContent></ArticleEditContent>
|
||||
<ArticleEditContent></ArticleEditContent>
|
||||
|
||||
Reference in New Issue
Block a user