The previous commit replaced setup.go with an incomplete rewrite. This
restores the original file (fixed columns with created/updated, pages,
sha256 unique index, config-removal cleanup, event relation,
superuser upsert, errAppendOnly) and keeps only the intended changes:
- enum fields become select fields created with the dummy placeholder
(or the configured template names for the template field)
- the startup cleanup of the enum value lists runs at the end of Setup
- setup_test.go asserts the select columns and the cleanup
- enum fields become PocketBase select columns created with a single
'-----' placeholder; the special template field starts with the
configured template names (US-03, US-37)
- new enums.go owns the value lists: EnsureEnumValues registers new
values before a record save validates them, CleanupEnumValues runs at
startup and keeps only the values a document uses (placeholder kept
only while alone), template forced to the configuration
- setup_test.go now asserts the select columns and the cleanup