Fix #4926
This commit is contained in:
parent
763b70e01b
commit
bb2d76ffa3
5 changed files with 55 additions and 58 deletions
|
@ -219,8 +219,6 @@ const user = await Users.findOne(userId).then(ensure);
|
|||
```
|
||||
|
||||
### Migration作成方法
|
||||
コードの変更をした後、`ormconfig.json`(`npm run ormconfig`で生成)を用意し、
|
||||
|
||||
```
|
||||
npm i -g ts-node
|
||||
ts-node ./node_modules/typeorm/cli.js migration:generate -n 変更の名前
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue