From a3a1b612b0d31688979c59c2896e00dfbcd41781 Mon Sep 17 00:00:00 2001 From: JustSong Date: Sun, 21 May 2023 10:05:34 +0800 Subject: [PATCH] chore: set initial quota for root user --- model/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/model/main.go b/model/main.go index 0bc09230..3f6fafbf 100644 --- a/model/main.go +++ b/model/main.go @@ -26,6 +26,7 @@ func createRootAccountIfNeed() error { Status: common.UserStatusEnabled, DisplayName: "Root User", AccessToken: common.GetUUID(), + Quota: 100000000, } DB.Create(&rootUser) }