Skip to content
Snippets Groups Projects
  1. Mar 22, 2020
  2. Mar 16, 2020
  3. Mar 13, 2020
  4. Mar 12, 2020
  5. Mar 10, 2020
  6. Mar 02, 2020
  7. Feb 06, 2020
  8. Dec 26, 2019
  9. Dec 13, 2019
  10. Dec 01, 2019
  11. Oct 22, 2019
  12. Oct 04, 2019
  13. Sep 27, 2019
  14. Sep 18, 2019
  15. Sep 04, 2019
  16. Aug 27, 2019
    • 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
  17. Aug 09, 2019
  18. Jul 25, 2019
  19. Jul 19, 2019
Loading