From 02a33aaced1de7ae5e6390257fc51fc53ef17d65 Mon Sep 17 00:00:00 2001 From: qowevisa Date: Fri, 1 Nov 2024 09:29:48 +0200 Subject: [PATCH] Move Comment in Item above Metric fields --- db/item.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/item.go b/db/item.go index 4bde8bf..5397dcd 100644 --- a/db/item.go +++ b/db/item.go @@ -5,9 +5,9 @@ import "gorm.io/gorm" type Item struct { gorm.Model Name string - MetricType string - MetricValue uint64 Comment string + MetricType uint8 + MetricValue uint64 // CategoryID uint Category *Category