This project is UI customizations for WA's Gitea instance.
This file includes a trigger to add default scopes to unscoped tokens. BTT-Writer makes an API call without a scope, and gitea as of 1.21 will create the token with a null scope, so this trigger adds the appropriate scope to the token.
This should be run as soon as gitea has fully started up and finished any migrations it needs to do.