2014-02-15 20:47:30 +00:00
|
|
|
package migrate
|
|
|
|
|
2014-03-16 03:52:28 +00:00
|
|
|
// 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.
|
2014-02-15 20:47:30 +00:00
|
|
|
func (m *Migration) All() *Migration {
|
|
|
|
|
|
|
|
// List all migrations here
|
2014-03-10 13:28:04 +00:00
|
|
|
m.Add(SetupTables)
|
|
|
|
m.Add(SetupIndices)
|
2014-02-15 20:47:30 +00:00
|
|
|
m.Add(RenamePrivelegedToPrivileged)
|
2014-02-18 06:08:06 +00:00
|
|
|
m.Add(GitHubEnterpriseSupport)
|
2014-03-10 13:28:04 +00:00
|
|
|
m.Add(AddOpenInvitationColumn)
|
2014-03-29 06:37:50 +00:00
|
|
|
m.Add(AddGitlabColumns)
|
2014-05-23 03:16:01 +00:00
|
|
|
m.Add(SaveDroneYml)
|
2014-02-15 20:47:30 +00:00
|
|
|
|
|
|
|
// m.Add(...)
|
|
|
|
// ...
|
|
|
|
return m
|
|
|
|
}
|