Skip to content
Snippets Groups Projects
  1. Feb 21, 2020
  2. Feb 20, 2020
  3. Feb 11, 2020
  4. Feb 06, 2020
  5. Feb 04, 2020
  6. Jan 09, 2020
  7. Nov 27, 2019
  8. Nov 01, 2019
  9. Oct 07, 2019
  10. Sep 24, 2019
  11. Sep 23, 2019
  12. Sep 18, 2019
  13. Aug 27, 2019
    • Evan Read's avatar
      Removes trailing whitespace to fix linting · 42e8bef3
      Evan Read authored
      42e8bef3
    • Mayra Cabrera's avatar
      Migrations guide: use atomic steps, when possible · 9d5ea420
      Mayra Cabrera authored and Evan Read's avatar Evan Read committed
      Currently, the DB migrations guide says that "you must" use non-blocking
      operations (such as CREATE INDEX CONCURRENTLY), always.
      
      But this does not make sense in cases of empty tables and leads to
      splitting the work to multiple non-atomic
      (with disable_ddl_transaction!) DB migrations.
      
      To follow KISS principle, to have fewer DB migrations steps,
      to have them atomic when it's possible and simplify deployment
      and troubleshooting, the following exceptions were added
      to the doc:
      
      - index creation,
      - index dropping,
      - defining an FK,
      - adding a column with DEFAULT,
      9d5ea420
  14. Aug 07, 2019
  15. Jul 09, 2019
  16. May 23, 2019
  17. Apr 12, 2019
  18. Feb 18, 2019
  19. Jan 08, 2019
  20. Jan 04, 2019
    • Kamil Trzcińśki's avatar
      Add config_options|variables to BuildMetadata · 0103d5be
      Kamil Trzcińśki authored
      These are data columns that store runtime configuration
      of build needed to execute it on runner and within pipeline.
      
      The definition of this data is that once used, and when no longer
      needed (due to retry capability) they can be freely removed.
      
      They use `jsonb` on PostgreSQL, and `text` on MySQL (due to lacking
      support for json datatype on old enough version).
      0103d5be
  21. Dec 12, 2018
  22. Nov 15, 2018
  23. Aug 14, 2018
  24. Aug 08, 2018
  25. Mar 22, 2018
  26. Mar 20, 2018
    • Andreas Brandl's avatar
      Shortcut concurrent index creation/removal if no effect. · 1362d9fe
      Andreas Brandl authored
      Index creation does not have an effect if the index is present already.
      Index removal does not have an affect if the index is not present.
      
      This helps to avoid patterns like this in migrations:
      ```
      if index_exists?(...)
        remove_concurrent_index(...)
      end
      ```
      1362d9fe
  27. Jan 19, 2018
  28. Nov 17, 2017
  29. Aug 04, 2017
  30. Jun 13, 2017
  31. May 02, 2017
  32. Apr 12, 2017
    • Yorick Peterse's avatar
      Prepare for zero downtime migrations · 223d8a3d
      Yorick Peterse authored
      Starting with GitLab 9.1.0 we will no longer allow downtime migrations
      unless absolutely necessary. This commit updates the various developer
      guides and adds code that is necessary to make zero downtime migrations
      less painful.
      Verified
      223d8a3d
  33. Apr 05, 2017
  34. Nov 09, 2016
  35. Oct 02, 2016
  36. Sep 16, 2016
Loading