mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
fix: Extend migration fixture test with down and fix 000045 (#6130)
This commit is contained in:
committed by
GitHub
parent
049984ce7f
commit
b46d0d693f
@ -331,6 +331,10 @@ func TestMigrateUpWithFixtures(t *testing.T) {
|
||||
s.Add(table, count)
|
||||
}
|
||||
}
|
||||
|
||||
// Test that migration down is successful after up.
|
||||
err = migrations.Down(db)
|
||||
require.NoError(t, err, "final migration down should be successful")
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user