Commit Graph

5 Commits (77275a9b311ed126f887628f33fbd917750420cd)

Author SHA1 Message Date
Unknwon 4a67bb5806
migrations.v17: skip if table not exist 2017-03-30 11:37:27 -04:00
Kyle McCullough 09723ec0e5 migration.v17: handle mysql error (#4361) 2017-03-29 19:02:07 -04:00
Unknwon abe7f7bc36
migration.v17: add nil error check 2017-03-28 16:38:16 -04:00
Unknwon 717bcc4ad8
migration/v17: skip if protect_branch_whitelist table not exist (#4355) 2017-03-28 11:20:58 -04:00
Unknwon 1038916460
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.
2017-03-27 13:13:04 -04:00