|
@@ -50,10 +50,10 @@ type Version struct {
|
|
|
// If you want to "retire" a migration, remove it from the top of the list and
|
|
|
// update _MIN_VER_DB accordingly
|
|
|
var migrations = []Migration{
|
|
|
- NewMigration("generate collaboration from access", accessToCollaboration), // V0 -> V1
|
|
|
- NewMigration("make authorize 4 if team is owners", ownerTeamUpdate), // V1 -> V2
|
|
|
- NewMigration("refactor access table to use id's", accessRefactor), // V2 -> V3
|
|
|
- NewMigration("generate team-repo from team", teamToTeamRepo), // V3 -> V4
|
|
|
+ NewMigration("generate collaboration from access", accessToCollaboration), // V0 -> V1:v0.5.13
|
|
|
+ NewMigration("make authorize 4 if team is owners", ownerTeamUpdate), // V1 -> V2:v0.5.13
|
|
|
+ NewMigration("refactor access table to use id's", accessRefactor), // V2 -> V3:v0.5.13
|
|
|
+ NewMigration("generate team-repo from team", teamToTeamRepo), // V3 -> V4:v0.5.13
|
|
|
}
|
|
|
|
|
|
// Migrate database to current version
|