From 2eb7ccdaf4f99ca9ec98792fdb741b3dcd82cdae Mon Sep 17 00:00:00 2001 From: qowevisa Date: Fri, 1 Nov 2024 22:54:11 +0200 Subject: [PATCH] Remove IsValid and add ValidTo field for ItemPrice entity --- db/item_price.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/item_price.go b/db/item_price.go index 52ef988..1c90c8b 100644 --- a/db/item_price.go +++ b/db/item_price.go @@ -13,7 +13,7 @@ type ItemPrice struct { Item *Item Price uint64 ValidFrom time.Time - IsValid bool `gorm:"default:true"` + ValidTo time.Time } var (