Skip to content
Snippets Groups Projects
  1. Feb 24, 2020
  2. Feb 21, 2020
  3. Feb 20, 2020
  4. Feb 11, 2020
  5. Feb 06, 2020
  6. Feb 04, 2020
  7. Jan 09, 2020
  8. Nov 27, 2019
  9. Nov 01, 2019
  10. Oct 07, 2019
  11. Sep 24, 2019
  12. Sep 23, 2019
  13. Sep 18, 2019
  14. 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
  15. Aug 07, 2019
  16. Jul 09, 2019
  17. May 23, 2019
  18. Apr 12, 2019
  19. Feb 18, 2019
  20. Jan 08, 2019
  21. 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
  22. Dec 12, 2018
  23. Nov 15, 2018
  24. Aug 14, 2018
  25. Aug 08, 2018
  26. Mar 22, 2018
  27. 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
  28. Jan 19, 2018
  29. Nov 17, 2017
  30. Aug 04, 2017
  31. Jun 13, 2017
  32. May 02, 2017
  33. 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
  34. Apr 05, 2017
  35. Nov 09, 2016
  36. Oct 02, 2016
Loading