Re-migrate code
This commit is contained in:
@@ -60,6 +60,8 @@ func cleanupTestData() {
|
||||
}
|
||||
|
||||
func createTestUsers() {
|
||||
database.DB.Unscoped().Where("1 = 1").Delete(&models.User{})
|
||||
|
||||
testPassword, _ := bcrypt.GenerateFromPassword([]byte("password123"), bcrypt.DefaultCost)
|
||||
|
||||
testUsers := []models.User{
|
||||
|
||||
Reference in New Issue
Block a user