1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-18 08:26:45 +02:00
woodpecker/pkg/database/migrate/all.go

22 lines
467 B
Go
Raw Normal View History

package migrate
// All is called to collect all migration scripts
// and adds them to Revision list. New Revision
// should be added here ordered by its revision
// number.
func (m *Migration) All() *Migration {
// List all migrations here
m.Add(SetupTables)
m.Add(SetupIndices)
m.Add(RenamePrivelegedToPrivileged)
m.Add(GitHubEnterpriseSupport)
m.Add(AddOpenInvitationColumn)
2014-03-29 09:37:50 +03:00
m.Add(AddGitlabColumns)
2014-05-23 06:16:01 +03:00
m.Add(SaveDroneYml)
// m.Add(...)
// ...
return m
}