Migrator defines the methods required to perform a migration.
| 31 | |
| 32 | // Migrator defines the methods required to perform a migration. |
| 33 | type Migrator interface { |
| 34 | gatherInfo() error |
| 35 | migrate() error |
| 36 | renderObject() error |
| 37 | } |
| 38 | |
| 39 | // Migration is a base representation of a migration, which can be extended by more specific structs. |
| 40 | type Migration struct { |
no outgoing calls
no test coverage detected
searching dependent graphs…