| 208 | } |
| 209 | |
| 210 | type MigrationSource interface { |
| 211 | // Finds the migrations. |
| 212 | // |
| 213 | // The resulting slice of migrations should be sorted by Id. |
| 214 | FindMigrations() ([]*Migration, error) |
| 215 | } |
| 216 | |
| 217 | // A hardcoded set of migrations, in-memory. |
| 218 | type MemoryMigrationSource struct { |
no outgoing calls
no test coverage detected
searching dependent graphs…