From 03cc5927682dd19bd5e4752b203d223fffdfa340 Mon Sep 17 00:00:00 2001 From: Evan Chen Date: Sun, 9 Jan 2022 16:37:12 +0800 Subject: [PATCH] update --- attribute/attribute.go | 1 + 1 file changed, 1 insertion(+) diff --git a/attribute/attribute.go b/attribute/attribute.go index 36e3ee4..afbe9d2 100644 --- a/attribute/attribute.go +++ b/attribute/attribute.go @@ -49,6 +49,7 @@ func Add(Key, Name, Description, Default string, NeedRestart bool) error { Description: Description, Default: Default, Value: Default, + NeedRestart: NeedRestart, } err := store.DB.Create(a).Error