BigW Consortium Gitlab

  1. 28 Nov, 2017 1 commit
    • Remove serialised diff and commit columns · 4ebbfe5d
      Sean McGivern authored
      The st_commits and st_diffs columns on merge_request_diffs historically held the
      YAML-serialised data for a merge request diff, in a variety of formats.
      
      Since 9.5, these have been migrated in the background to two new tables:
      merge_request_diff_commits and merge_request_diff_files. That has the advantage
      that we can actually query the data (for instance, to find out how many commits
      we've stored), and that it can't be in a variety of formats, but must match the
      new schema.
      
      This is the final step of that journey, where we drop those columns and remove
      all references to them. This is a breaking change to the importer, because we
      can no longer import diffs created in the old format, and we cannot guarantee
      the export will be in the new format unless it was generated after this commit.
  2. 06 Sep, 2017 1 commit
    • Finish migration to the new events setup · 235b105c
      Yorick Peterse authored
      This finishes the procedure for migrating events from the old format
      into the new format. Code no longer uses the old setup and the database
      tables used during the migration process are swapped, with the old table
      being dropped.
      
      While the database migration can be reversed this will 1) take a lot of
      time as data has to be coped around 2) won't restore data in the
      "events.data" column as we have no way of restoring this.
      
      Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/37241
  3. 27 Jul, 2017 3 commits
  4. 09 Jun, 2016 1 commit
    • Enable RuboCop for migrations · 98bb435f
      Sean McGivern authored
      Migrations shouldn't fail RuboCop checks - especially lint checks, such
      as the nested method check. To avoid changing code in existing
      migrations, add the magic comment to the top of each of them to skip
      that file.
  5. 18 Jan, 2016 1 commit
  6. 21 Oct, 2015 1 commit
  7. 09 Sep, 2015 1 commit
  8. 26 Aug, 2015 1 commit
  9. 23 Apr, 2014 2 commits
  10. 13 Mar, 2014 1 commit
  11. 12 Mar, 2014 1 commit
  12. 11 Mar, 2014 1 commit