(stage string)
| 82 | } |
| 83 | |
| 84 | func (m *migratorImpl) Info(stage string) { |
| 85 | m.logger.Info("[%s] pending scripts: %d, executed scripts: %d, total: %d", stage, len(m.pending), len(m.executed), len(m.scripts)) |
| 86 | } |
| 87 | |
| 88 | // Execute all registered migration script in order and mark them as executed in migration_history table |
| 89 | func (m *migratorImpl) Execute() errors.Error { |