1
0

fix comment system

This commit is contained in:
2024-04-12 01:54:12 +09:00
parent 336827433e
commit b3df3250bb
17 changed files with 4503 additions and 174 deletions

View File

@@ -64,7 +64,7 @@ func init() {
// ma.DefaultLimit holds the default value on creation for the limit field.
ma.DefaultLimit = maDescLimit.Default.(bool)
// maDescCreatedAt is the schema descriptor for created_at field.
maDescCreatedAt := maFields[13].Descriptor()
maDescCreatedAt := maFields[22].Descriptor()
// ma.DefaultCreatedAt holds the default value on creation for the created_at field.
ma.DefaultCreatedAt = maDescCreatedAt.Default.(func() time.Time)
sevFields := schema.Sev{}.Fields()