Skip to content

Board table schema revision #142

@Eggbertx

Description

@Eggbertx

The board table currently has columns that make more sense to go in a configuration file. The following columns from the boards table are being moved to the config.BoardConfig struct.

To allow for a smooth transition, the deprecated columns should be loaded into their respective board configuration files.

max_file_size --> MaxFileSize
max_threads --> MaxThreads
default_style --> DefaultStyle
locked --> Locked
anonymous_name --> AnonymousName
force_anonymous --> ForceAnonymous
autosage_after --> AutosageAfter
no_images_after --> NoImagesAfter
max_message_length --> MaxMessageLength
min_message_length --> MinMessageLength
allow_embeds --> AllowEmbeds
redirect_to_thread --> RedirectToThread
require_file --> RequireFile
enable_catalog --> EnableCatalog

TODO:

  • Implementation
  • Validation on start/reload
  • Testing
  • Migration

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions