Plan a migration.
(db *sql.DB, dialect string, m MigrationSource, dir MigrationDirection, max int)
| 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) { |
| 616 | return ms.planMigrationCommon(db, dialect, m, dir, max, -1) |
| 617 | } |
| 618 | |
| 619 | // Plan a migration to version. |
| 620 | func (ms MigrationSet) PlanMigrationToVersion(db *sql.DB, dialect string, m MigrationSource, dir MigrationDirection, version int64) ([]*PlannedMigration, *gorp.DbMap, error) { |
no test coverage detected