From 1786a7e598ae315906d51e2d6cadbe071c3fcdf3 Mon Sep 17 00:00:00 2001 From: AlanAlanAlanXu Date: Mon, 21 Jul 2025 16:12:36 +0800 Subject: [PATCH] Update runtime.go --- backend/db/runtime/runtime.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/db/runtime/runtime.go b/backend/db/runtime/runtime.go index 8131d59..d64a57c 100644 --- a/backend/db/runtime/runtime.go +++ b/backend/db/runtime/runtime.go @@ -261,11 +261,11 @@ func init() { // task.DefaultIsSuggested holds the default value on creation for the is_suggested field. task.DefaultIsSuggested = taskDescIsSuggested.Default.(bool) // taskDescCreatedAt is the schema descriptor for created_at field. - taskDescCreatedAt := taskFields[14].Descriptor() + taskDescCreatedAt := taskFields[17].Descriptor() // task.DefaultCreatedAt holds the default value on creation for the created_at field. task.DefaultCreatedAt = taskDescCreatedAt.Default.(func() time.Time) // taskDescUpdatedAt is the schema descriptor for updated_at field. - taskDescUpdatedAt := taskFields[15].Descriptor() + taskDescUpdatedAt := taskFields[18].Descriptor() // task.DefaultUpdatedAt holds the default value on creation for the updated_at field. task.DefaultUpdatedAt = taskDescUpdatedAt.Default.(func() time.Time) // task.UpdateDefaultUpdatedAt holds the default value on update for the updated_at field.