NewMigrationSet returns a parametrized Migration object
()
| 48 | |
| 49 | // NewMigrationSet returns a parametrized Migration object |
| 50 | func (ms MigrationSet) getTableName() string { |
| 51 | if ms.TableName == "" { |
| 52 | return "gorp_migrations" |
| 53 | } |
| 54 | return ms.TableName |
| 55 | } |
| 56 | |
| 57 | var numberPrefixRegex = regexp.MustCompile(`^(\d+).*$`) |
| 58 |
no outgoing calls
no test coverage detected