MCPcopy Create free account
hub / github.com/apache/devlake / AddColumn

Method AddColumn

backend/core/dal/dal.go:119–119  ·  view source on GitHub ↗

AddColumn add column for the table

(table, columnName string, columnType ColumnType)

Source from the content-addressed store, hash-verified

117 AutoMigrate(entity interface{}, clauses ...Clause) errors.Error
118 // AddColumn add column for the table
119 AddColumn(table, columnName string, columnType ColumnType) errors.Error
120 // DropColumns drop column from the table
121 DropColumns(table string, columnName ...string) errors.Error
122 // Exec executes raw sql query

Callers 4

ExecuteMethod · 0.65
CreateFieldMethod · 0.65
UpMethod · 0.65
UpMethod · 0.65

Implementers 1

Dalgormbackend/impls/dalgorm/dalgorm.go

Calls

no outgoing calls

Tested by

no test coverage detected