fix: docs

This commit is contained in:
2026-03-25 00:11:57 +01:00
parent ad656fd636
commit bfeeaa1190
2 changed files with 0 additions and 4 deletions

View File

@@ -5,15 +5,12 @@ import "time"
// ConfigEntry stores runtime-tunable configuration in the database.
// Values are stored as strings but helpers exist for ints/bools/durations.
//
// NOTE: keep keys stable; they are effectively part of the public admin surface.
//
// Example keys:
// - upload.max_file_size_bytes
// - upload.multi.max_files
// - upload.max_hours
// - ratelimit.login.per_minute
// - ratelimit.api.per_minute
//
type ConfigEntry struct {
Key string `gorm:"primaryKey;size:128"`
Value string `gorm:"size:2048"`