Plan a migration.
(db *sql.DB, dialect string, m MigrationSource, dir MigrationDirection, max int)
| 603 | |
| 604 | // Plan a migration. |
| 605 | func PlanMigration(db *sql.DB, dialect string, m MigrationSource, dir MigrationDirection, max int) ([]*PlannedMigration, *gorp.DbMap, error) { |
| 606 | return migSet.PlanMigration(db, dialect, m, dir, max) |
| 607 | } |
| 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) { |
searching dependent graphs…