~egtann/migrate

c755baa59321cd6d2049d0e187ee4be81f363078 — Evan Tann 8 months ago 76bc465
fix error spacing
1 files changed, 1 insertions(+), 1 deletions(-)

M migrate.go
M migrate.go => migrate.go +1 -1
@@ 129,7 129,7 @@ func (m *Migrate) validHistory() error {
	for i := m.idx; i < len(m.Migrations); i++ {
		mg := m.Migrations[i]
		if mg.Filename != m.Files[i].Name() {
			m.log.Printf("\n%s was added to history before %s.",
			m.log.Printf("\n%s was added to history before %s.\n",
				m.Files[i].Name(), mg.Filename)
			return errors.New("failed to migrate. migrations must be appended")
		}