MCPcopy
hub / github.com/apache/devlake / Up

Method Up

backend/server/services/remote/models/migration.go:221–229  ·  view source on GitHub ↗
(basicRes context.BasicRes)

Source from the content-addressed store, hash-verified

219}
220
221func (s *RemoteMigrationScript) Up(basicRes context.BasicRes) errors.Error {
222 for _, operation := range s.operations {
223 err := operation.Execute(basicRes)
224 if err != nil {
225 return err
226 }
227 }
228 return nil
229}
230
231func (s *RemoteMigrationScript) Version() uint64 {
232 return s.version

Callers

nothing calls this directly

Calls 1

ExecuteMethod · 0.65

Tested by

no test coverage detected