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