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:
Nicolas Rouanne
2025-01-10 17:21:15 +01:00
committed by GitHub
parent b46bc84dab
commit 07fa58b042

View File

@ -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>