Fix build

pull/9/head
Vojtech Vitek (V-Teq) 2016-10-03 19:34:37 -04:00
parent 643386c3a6
commit 9bf132172d
1 changed files with 0 additions and 5 deletions

View File

@ -40,11 +40,6 @@ func (m *Migration) Down(db *sql.DB) error {
}
func (m *Migration) run(db *sql.DB, direction bool) error {
current, err := EnsureDBVersion(db)
if err != nil {
return err
}
switch filepath.Ext(m.Source) {
case ".sql":
if err = runSQLMigration(db, m.Source, m.Version, direction); err != nil {