mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-06-03 18:57:37 +08: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