From e9360534e020d016b8abbff43a1b805be4babee3 Mon Sep 17 00:00:00 2001 From: Brandon Duffany Date: Mon, 1 Jul 2024 10:33:21 -0400 Subject: [PATCH] Remove NOT NULL constraint on Usage final_before_usec (#6957) --- server/tables/tables.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/tables/tables.go b/server/tables/tables.go index ef528f4acb9..facbb19e9d0 100644 --- a/server/tables/tables.go +++ b/server/tables/tables.go @@ -699,7 +699,7 @@ type Usage struct { // [xxxxxxxxxxxxxxxxxxx[xxxxxx)-----------) // ^ FinalBefore (before update) = CollectionPeriodStart // ^ FinalBefore (after update) = CollectionPeriodEnd - FinalBeforeUsec int64 `gorm:"not null;default:0"` + FinalBeforeUsec int64 `gorm:"default:0"` UsageCounts