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

Struct RenameColumnOperation

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

Source from the content-addressed store, hash-verified

102var _ Operation = (*DropTableOperation)(nil)
103
104type RenameColumnOperation struct {
105 Table string `json:"table"`
106 OldName string `json:"old_name"`
107 NewName string `json:"new_name"`
108}
109
110func (o RenameColumnOperation) Execute(basicRes context.BasicRes) errors.Error {
111 db := basicRes.GetDal()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected