Plan a migration to version.
(db *sql.DB, dialect string, m MigrationSource, dir MigrationDirection, version int64)
| 608 | |
| 609 | // Plan a migration to version. |
| 610 | func PlanMigrationToVersion(db *sql.DB, dialect string, m MigrationSource, dir MigrationDirection, version int64) ([]*PlannedMigration, *gorp.DbMap, error) { |
| 611 | return migSet.PlanMigrationToVersion(db, dialect, m, dir, version) |
| 612 | } |
| 613 | |
| 614 | // Plan a migration. |
| 615 | func (ms MigrationSet) PlanMigration(db *sql.DB, dialect string, m MigrationSource, dir MigrationDirection, max int) ([]*PlannedMigration, *gorp.DbMap, error) { |
searching dependent graphs…