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

Method AutoMigrate

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

AutoMigrate runs auto migration for given entity

(entity interface{}, clauses ...Clause)

Source from the content-addressed store, hash-verified

115type Dal interface {
116 // AutoMigrate runs auto migration for given entity
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

Callers 15

UpMethod · 0.65
UpMethod · 0.65
UpMethod · 0.65
UpMethod · 0.65
UpMethod · 0.65
UpMethod · 0.65
UpMethod · 0.65
UpMethod · 0.65
UpMethod · 0.65
UpMethod · 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