mirror of
https://github.com/gogs/gogs.git
synced 2025-12-21 15:50:00 +01:00
If user creates a protect branch for the first time (which has ID=0), it generates invalid whitelist records with 'protect_branch_id=0'. This prevents future updates of protect branch whitelist. Migration: remove existing invalid protect branch whitelist records.
7.6 KiB
7.6 KiB