MCPcopy
hub / github.com/rubenv/sql-migrate / SetTable

Function SetTable

migrate.go:101–105  ·  view source on GitHub ↗

Set the name of the table used to store migration info. Should be called before any other call such as (Exec, ExecMax, ...).

(name string)

Source from the content-addressed store, hash-verified

99//
100// Should be called before any other call such as (Exec, ExecMax, ...).
101func SetTable(name string) {
102 if name != "" {
103 migSet.TableName = name
104 }
105}
106
107// SetSchema sets the name of a schema that the migration table be referenced.
108func SetSchema(name string) {

Callers 1

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…