Set the name of the table used to store migration info. Should be called before any other call such as (Exec, ExecMax, ...).
(name string)
| 99 | // |
| 100 | // Should be called before any other call such as (Exec, ExecMax, ...). |
| 101 | func 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. |
| 108 | func SetSchema(name string) { |
no outgoing calls
searching dependent graphs…