mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00:00 
			
		
		
		
	Fix broken migration on webhook (#13911)
* Fix broken migration on webhook * Fix lint Co-authored-by: John Olheiser <john.olheiser@gmail.com>
This commit is contained in:
		| @@ -110,11 +110,11 @@ type Webhook struct { | ||||
| 	Secret          string `xorm:"TEXT"` | ||||
| 	Events          string `xorm:"TEXT"` | ||||
| 	*HookEvent      `xorm:"-"` | ||||
| 	IsSSL           bool `xorm:"is_ssl"` | ||||
| 	IsActive        bool `xorm:"INDEX"` | ||||
| 	HookTaskType    HookTaskType | ||||
| 	Meta            string     `xorm:"TEXT"` // store hook-specific attributes | ||||
| 	LastStatus      HookStatus // Last delivery status | ||||
| 	IsSSL           bool         `xorm:"is_ssl"` | ||||
| 	IsActive        bool         `xorm:"INDEX"` | ||||
| 	Type            HookTaskType `xorm:"char(16) 'type'"` | ||||
| 	Meta            string       `xorm:"TEXT"` // store hook-specific attributes | ||||
| 	LastStatus      HookStatus   // Last delivery status | ||||
|  | ||||
| 	CreatedUnix timeutil.TimeStamp `xorm:"INDEX created"` | ||||
| 	UpdatedUnix timeutil.TimeStamp `xorm:"INDEX updated"` | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Lunny Xiao
					Lunny Xiao