mirror of
				https://github.com/cloudreve/cloudreve.git
				synced 2025-10-31 08:39:10 +08:00 
			
		
		
		
	Feat: migration DB support custom upgrade scripts
This commit is contained in:
		| @ -9,10 +9,6 @@ import ( | ||||
|  | ||||
| type ResetAdminPassword int | ||||
|  | ||||
| func init() { | ||||
| 	register("ResetAdminPassword", ResetAdminPassword(0)) | ||||
| } | ||||
|  | ||||
| // Run 运行脚本从社区版升级至 Pro 版 | ||||
| func (script ResetAdminPassword) Run(ctx context.Context) { | ||||
| 	// 查找用户 | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 HFO4
					HFO4