mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	| @@ -51,6 +51,7 @@ type Version struct { | ||||
| // update _MIN_VER_DB accordingly | ||||
| var migrations = []Migration{ | ||||
| 	NewMigration("generate collaboration from access", accessToCollaboration), // V0 -> V1 | ||||
| 	NewMigration("refactor access table to use id's", accessRefactor),         // V1 -> V2 | ||||
| } | ||||
|  | ||||
| // Migrate database to current version | ||||
| @@ -208,3 +209,8 @@ func accessToCollaboration(x *xorm.Engine) error { | ||||
|  | ||||
| 	return sess.Commit() | ||||
| } | ||||
|  | ||||
| func accessRefactor(x *xorm.Engine) error { | ||||
| 	//TODO | ||||
| 	return nil | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user