github.com/marinho/drone@v0.2.1-0.20140504195434-d3ba962e89a7/pkg/database/migrate/all.go (about) 1 package migrate 2 3 // All is called to collect all migration scripts 4 // and adds them to Revision list. New Revision 5 // should be added here ordered by its revision 6 // number. 7 func (m *Migration) All() *Migration { 8 9 // List all migrations here 10 m.Add(SetupTables) 11 m.Add(SetupIndices) 12 m.Add(RenamePrivelegedToPrivileged) 13 m.Add(GitHubEnterpriseSupport) 14 m.Add(AddOpenInvitationColumn) 15 m.Add(AddGitlabColumns) 16 17 // m.Add(...) 18 // ... 19 return m 20 }