mirror of
https://github.com/chaitin/MonkeyCode.git
synced 2026-02-08 01:33:31 +08:00
Update runtime.go
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user