Files
quyun-v2/backend/database/models/content_access.go

8 lines
277 B
Go
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package models
// TableName 覆盖 GORM 对 ContentAccess 的默认表名推导content_accesses
// 保证与迁移中的实际表名 content_access 一致,避免查询/写入找不到表。
func (ContentAccess) TableName() string {
return TableNameContentAccess
}