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