1. 20 Aug, 2017 2 commits
    • Yorick Peterse's avatar
      Merge branch 'sh-fix-protected-tags-delete' into 'master' · fbaae9ff
      Yorick Peterse authored
      Fix Error 500s when attempting to destroy a protected tag
      
      Closes #36013
      
      See merge request !13692
      fbaae9ff
    • Stan Hu's avatar
      Fix Error 500s when attempting to destroy a protected tag · 718ecd4e
      Stan Hu authored
      Due to a missing `on_delete: :cascade`, users would hit the error that
      looked like:
      
      ```
      PG::ForeignKeyViolation: ERROR: update or delete on table "protected_tags"
      violates foreign key constraint "fk_rails_f7dfda8c51" on table
      "protected_tag_create_access_levels" DETAIL: Key (id)=(1385) is still
      referenced from table "protected_tag_create_access_levels". : DELETE FROM
      "protected_tags" WHERE "protected_tags"."id" = 1385
      ```
      
      Closes #36013
      718ecd4e
  2. 18 Aug, 2017 29 commits
  3. 17 Aug, 2017 9 commits