mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-10-26 19:14:12 +00:00 
			
		
		
		
	Use npx to avoid global install of ts-node
This commit is contained in:
		
							parent
							
								
									351b236014
								
							
						
					
					
						commit
						4b747d20b7
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -220,8 +220,7 @@ const user = await Users.findOne(userId).then(ensure); | |||
| 
 | ||||
| ### Migration作成方法 | ||||
| ``` | ||||
| npm i -g ts-node | ||||
| ts-node ./node_modules/typeorm/cli.js migration:generate -n 変更の名前 | ||||
| npx ts-node ./node_modules/typeorm/cli.js migration:generate -n 変更の名前 | ||||
| ``` | ||||
| 
 | ||||
| 作成されたスクリプトは不必要な変更を含むため除去してください。 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue