channedb: add db migration for databases before delivery script bug fix

This commit is contained in:
Olaoluwa Osuntokun committed 2017-02-08 13:05:45 -08:00
1 parent a34df2f7d8
commit 59615b3cb2
3 files changed
+118 -5

No files matched your search

+1 -1
View File
@@ -62,7 +62,7 @@ func TestOrderOfMigrations(t *testing.T) {
// Retrieve the migration that should be applied to db, as far as
// current version is 1, we skip zero and first versions.
migrations := getMigrationsToApply(versions, 1)
migrations, _ := getMigrationsToApply(versions, 1)
if len(migrations) != 2 {
t.Fatal("incorrect number of migrations to apply")