Explorar el Código

chore: set initial quota for root user

JustSong hace 3 años
padre
commit
08a628a7f8
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      model/main.go

+ 1 - 0
model/main.go

@@ -26,6 +26,7 @@ func createRootAccountIfNeed() error {
 			Status:      common.UserStatusEnabled,
 			DisplayName: "Root User",
 			AccessToken: common.GetUUID(),
+			Quota:       100000000,
 		}
 		DB.Create(&rootUser)
 	}