Update index.md
This commit is contained in:
		
							parent
							
								
									c0b5a21b91
								
							
						
					
					
						commit
						9281ee61dc
					
				@ -141,7 +141,7 @@ await UserRepository.destroy(user.id);
 | 
			
		||||
| 参数名 | 类型 | 默认值 | 描述 |
 | 
			
		||||
| --- | --- | --- | --- |
 | 
			
		||||
| `options.name` | `string` | - | 迁移文件名称 |
 | 
			
		||||
| `options.context?` | `string` | - | 迁移文件的 `up` 方法 |
 | 
			
		||||
| `options.context?` | `string` | - | 迁移文件的上下文 |
 | 
			
		||||
| `options.migration?` | `typeof Migration` | - | 迁移文件的自定义类 |
 | 
			
		||||
| `options.up` | `Function` | - | 迁移文件的 `up` 方法 |
 | 
			
		||||
| `options.down` | `Function` | - | 迁移文件的 `down` 方法 |
 | 
			
		||||
@ -575,6 +575,8 @@ asset(post1.authorId === author1.id); // true
 | 
			
		||||
 | 
			
		||||
* `off(name: string, listener: Function)`
 | 
			
		||||
 | 
			
		||||
**参数**
 | 
			
		||||
 | 
			
		||||
| 参数名 | 类型 | 默认值 | 描述 |
 | 
			
		||||
| --- | --- | --- | --- |
 | 
			
		||||
| name | string | - | 事件名称 |
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user