1
0
Fork 0
forked from forgejo/forgejo

Merge pull request #941 from phsmit/access_refactor

Access refactor
This commit is contained in:
无闻 2015-02-12 21:34:27 -05:00
commit 7fda0cdb93
12 changed files with 247 additions and 732 deletions

View file

@ -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
}