convert statuses.visibility and notifications.notification_type columns from type string -> int for performance / space savings

This commit is contained in:
kim 2024-11-21 17:03:53 +00:00
commit 759df1240a
21 changed files with 586 additions and 84 deletions

View file

@ -372,7 +372,7 @@ func (p *Processor) processVisibility(
// Fall back to account default, set
// this back on the form for later use.
case accountDefaultVis != "":
case accountDefaultVis != 0:
status.Visibility = accountDefaultVis
form.Visibility = p.converter.VisToAPIVis(ctx, accountDefaultVis)