TestingWithEmptyMigrationRegistry is intended for use by tests.
()
| 117 | |
| 118 | // TestingWithEmptyMigrationRegistry is intended for use by tests. |
| 119 | func TestingWithEmptyMigrationRegistry() (restore func()) { |
| 120 | save := backwardRegistry |
| 121 | backwardRegistry = map[TypeKey]TypeKey{} |
| 122 | return func() { backwardRegistry = save } |
| 123 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…