diff options
author | Unknwon <u@gogs.io> | 2017-03-27 13:13:04 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2017-03-27 13:13:04 -0400 |
commit | 1038916460a7ed2fa559bcf2f14b2eecb6ddaad6 (patch) | |
tree | b1a537a8c25d0331e925c5d2600adf62294be34f /vendor | |
parent | 73de9f9d6ac806634b22c150d42c66cb942d1088 (diff) |
models/protect_branch: fix whitelist with invalid 'protect_branch_id' (#4333)
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.
Diffstat (limited to 'vendor')
0 files changed, 0 insertions, 0 deletions