MCPcopy Index your code
hub / github.com/apache/devlake / AddColumnOperation

Struct AddColumnOperation

backend/server/services/remote/models/migration.go:60–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58var _ Operation = (*ExecuteOperation)(nil)
59
60type AddColumnOperation struct {
61 Table string `json:"table"`
62 Column string `json:"column"`
63 ColumnType dal.ColumnType `json:"column_type"`
64}
65
66func (o AddColumnOperation) Execute(basicRes context.BasicRes) errors.Error {
67 db := basicRes.GetDal()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected